Memory (Knowledge Graph) (official reference server)
Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.
MCP server by GreatScottyMac · ★ 767 · updated 8 months ago
Context Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
Choose your AI client and copy the config.
Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude.
{
"mcpServers": {
"context-portal": {
"command": "uvx",
"args": [
"--from",
"context-portal-mcp",
"conport-mcp",
"--mode",
"stdio",
"--workspace_id",
"${workspaceFolder}",
"--log-file",
"./logs/conport.log",
"--log-level",
"INFO"
]
}
}
}Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
{
"mcpServers": {
"context-portal": {
"command": "uvx",
"args": [
"--from",
"context-portal-mcp",
"conport-mcp",
"--mode",
"stdio",
"--workspace_id",
"${workspaceFolder}",
"--log-file",
"./logs/conport.log",
"--log-level",
"INFO"
]
}
}
}Or add to .vscode/mcp.json in your workspace.
{
"servers": {
"context-portal": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"context-portal-mcp",
"conport-mcp",
"--mode",
"stdio",
"--workspace_id",
"${workspaceFolder}",
"--log-file",
"./logs/conport.log",
"--log-level",
"INFO"
]
}
}
}Run in your terminal:
claude mcp add context-portal -- uvx --from context-portal-mcp conport-mcp --mode stdio --workspace_id ${workspaceFolder} --log-file ./logs/conport.log --log-level INFORun the server directly:
uvx --from context-portal-mcp conport-mcp --mode stdio --workspace_id ${workspaceFolder} --log-file ./logs/conport.log --log-level INFOBasic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more. Works with any OpenAI-compatible inference server.
Real-time temporal knowledge graphs for AI agents, with an MCP server that gives assistants long-term graph memory.
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.
Polyglot document intelligence with a Rust core: extract text, metadata, images, tables, and structured data from 106 formats across 140 file extensions, plus code intelligence for 371 languages. Fifteen bindings, with CLI, REST API, and MCP server.