usecortex-mcp
Persistent memory for AI coding agents. Store coding standards, architecture decisions, and project context across sessions with AES-256 encryption.
README
<p align="center"> <img src="logo.png" alt="UseCortex" width="300" /> </p>
<h1 align="center">UseCortex MCP Server</h1>
<p align="center"> <strong>Give your AI coding agent a persistent memory — read and write knowledge from any tool.</strong> </p>
<p align="center"> <a href="https://usecortex.net">Website</a> · <a href="#quick-start">Quick Start</a> · <a href="#available-tools">Tools</a> · <a href="#pricing">Pricing</a> </p>
<p align="center"> <img src="demo.gif" alt="UseCortex demo — store knowledge, query from any AI agent" width="720" /> </p>
UseCortex MCP is a Model Context Protocol server that gives AI coding agents persistent memory. Your agent can read knowledge you've stored and write new discoveries back — all through a single encrypted endpoint.
No context window limits. No copy-pasting. No outdated docs. Your AI remembers everything.
How It Works
- You chat — describe your coding standards, architecture decisions, client requirements, anything
- UseCortex extracts — AI automatically organizes facts into structured topics
- Your agent recalls — any MCP-compatible tool can query your knowledge instantly
- Knowledge grows — your agent can push new discoveries back, so your knowledge base stays current
Features
- Two-way knowledge flow — read context into projects, write discoveries back
- Works with any MCP client — compatible with any AI coding agent that supports the Model Context Protocol
- Encrypted at rest — AES-256 encryption with per-user keys
- No vendor lock-in — your knowledge works across every AI tool
- Structured by topic — knowledge auto-organized, not dumped in one pile
Quick Start
Prerequisites
- A free UseCortex account
- An MCP-compatible AI coding agent
1. Generate an API key
Sign up at usecortex.net, then navigate to Settings → API Keys → Generate.
Note: Copy the key immediately after generation. It will not be shown again.
2. Install (one command)
Run this in your terminal — replace YOUR_API_KEY with the key from step 1:
claude mcp add usecortex --transport url https://api.usecortex.net/mcp --header "Authorization: Bearer YOUR_API_KEY"
That's it. Restart your AI coding agent and UseCortex tools are ready.
<details> <summary>Manual setup (alternative)</summary>
If you prefer to configure manually, add this to your MCP client config file:
{
"mcpServers": {
"usecortex": {
"type": "url",
"url": "https://api.usecortex.net/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Replace YOUR_API_KEY with the key generated in step 1.
</details>
Available Tools
query_knowledge
Ask a natural language question and get an AI-powered answer based on your stored knowledge.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string |
Yes | Natural language question |
topic |
string |
No | Filter by specific topic |
list_topics
List all knowledge topics. Takes no parameters.
add_knowledge
Write new knowledge to your base. Your agent can store discoveries, decisions, or patterns it finds.
| Parameter | Type | Required | Description |
|---|---|---|---|
content |
string |
Yes | The knowledge to store |
topic |
string |
No | Topic to file under (auto-detected if omitted) |
get_topic
Retrieve all knowledge entries for a specific topic.
| Parameter | Type | Required | Description |
|---|---|---|---|
topic |
string |
Yes | Topic name to retrieve |
search_knowledge
Search knowledge entries by keyword (text match).
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string |
Yes | Search term |
capture_session (Memory plan)
Capture an AI session summary into persistent memory. Store what you learned, decided, or built.
| Parameter | Type | Required | Description |
|---|---|---|---|
summary |
string |
Yes | Compressed summary of the session |
tool |
string |
No | AI tool used (claude-code, cursor, chatgpt) |
project |
string |
No | Project name or path |
tags |
string[] |
No | Tags for categorization |
observations |
string |
No | Detailed observations as JSON string |
recall_memory (Memory plan)
Search across all captured session memories using AI. Ask what you worked on or what decisions were made.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string |
Yes | Natural language question about past sessions |
tool |
string |
No | Filter by AI tool |
project |
string |
No | Filter by project |
limit |
number |
No | Max results (default 20) |
list_sessions (Memory plan)
List recent captured session memories.
| Parameter | Type | Required | Description |
|---|---|---|---|
tool |
string |
No | Filter by AI tool |
project |
string |
No | Filter by project |
limit |
number |
No | Max results (default 10) |
Use Cases
| Who | What |
|---|---|
| Developers | Your coding standards, architecture decisions, and project context — automatically available to your AI agent |
| Support teams | Feed real policies and procedures to any support bot — it answers with facts, not guesses |
| Sales teams | Store client history, pricing, and objections — pull everything before meetings |
| Individuals | Your personal brain backup — everything you know, encrypted and accessible from any AI tool |
| HR & Onboarding | Your company playbook — processes, tools, culture — available to new hires instantly |
Pricing
| Free | Pro ($9/mo) | Memory ($19/mo) | Team ($39/mo) | |
|---|---|---|---|---|
| Knowledge entries | 100 | Unlimited | Unlimited | Unlimited |
| Topics | 3 | Unlimited | Unlimited | Unlimited |
| API calls/month | 500 | 10,000 | 50,000 | 200,000 |
| Two-way API | Read only | Yes | Yes | Yes |
| AI session capture | — | — | Yes | Yes |
| Memory recall | — | — | Yes | Yes |
| Markdown sync | — | — | Yes | Yes |
| Session history | — | — | 90 days | Unlimited |
| API keys | 1 | 5 | 10 | 50 |
| Team members | — | — | — | 25 |
| Audit logs | — | — | — | Yes |
Manage your plan at usecortex.net.
Security
- All communication encrypted over HTTPS
- Knowledge encrypted at rest with AES-256
- Per-user encryption keys — even we can't read your data
- API keys scoped per user with instant revocation
Contributing
Found a bug or have a feature request? Open an issue.
Links
- UseCortex — Create your account and manage knowledge
- cortex-cli — CLI for markdown sync & terminal usage
- Model Context Protocol — Learn about MCP
License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。