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 ooples · ★ 549 · updated today
Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients.
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. Setup guide
{
"mcpServers": {
"token-optimizer-mcp": {
"command": "npx",
"args": [
"token-optimizer-learn",
"#",
"what",
"it",
"found,",
"printed,",
"nothing",
"written"
]
}
}
}Or add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). Setup guide
{
"mcpServers": {
"token-optimizer-mcp": {
"command": "npx",
"args": [
"token-optimizer-learn",
"#",
"what",
"it",
"found,",
"printed,",
"nothing",
"written"
]
}
}
}Or add to .vscode/mcp.json in your workspace. Setup guide
{
"servers": {
"token-optimizer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"token-optimizer-learn",
"#",
"what",
"it",
"found,",
"printed,",
"nothing",
"written"
]
}
}
}Cascade → Actions → Open MCP config file (often ~/.config/devin/mcp_config.json). Setup guide
{
"mcpServers": {
"token-optimizer-mcp": {
"command": "npx",
"args": [
"token-optimizer-learn",
"#",
"what",
"it",
"found,",
"printed,",
"nothing",
"written"
]
}
}
}Run in your terminal: Setup guide
claude mcp add token-optimizer-mcp -- npx token-optimizer-learn # what it found, printed, nothing writtenCLI or add to ~/.codex/config.toml. Setup guide
codex mcp add token-optimizer-mcp -- npx token-optimizer-learn # what it found, printed, nothing written[mcp_servers.token-optimizer-mcp]
command = "npx"
args = ["token-optimizer-learn", "#", "what", "it", "found,", "printed,", "nothing", "written"]Cline panel → Configure MCP Servers, or ~/.cline/data/settings/cline_mcp_settings.json. Setup guide
{
"mcpServers": {
"token-optimizer-mcp": {
"command": "npx",
"args": [
"token-optimizer-learn",
"#",
"what",
"it",
"found,",
"printed,",
"nothing",
"written"
]
}
}
}Run the server directly:
npx token-optimizer-learn # what it found, printed, nothing written"env") in the config.Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.
Real-time temporal knowledge graphs for AI agents, with an MCP server that gives assistants long-term graph memory.
Neo4j Labs Model Context Protocol servers
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.