llm-router vs Memory (Knowledge Graph)
A side-by-side comparison of two AI, Data & Knowledge servers — tools, transport, auth, maintenance, and copy-paste config for each.
| llm-router Local-first LLM router for AI coding tools — routes prompts to the cheapest capable model with automatic provider fallback. Unverified stdio (local) No auth Python | Memory (Knowledge Graph) Official MCP server providing persistent, file-backed knowledge-graph memory across sessions. Verified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | AI, Data & Knowledge | AI, Data & Knowledge |
| Language | Python | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | None | None |
| GitHub stars | 33 | 74k |
| Last commit | 5 days ago | 5 months ago |
| Verified | ||
| Actively maintained | ||
| Install | pip install llm-routing && llm-router install | npx -y @modelcontextprotocol/server-memory |
| Repo | Open | Open |
Verdict
Pick llm-router if you need the broadest set of tools.
Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Add llm-router
pip install llm-routing && llm-router installPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"llm-router": {
"command": "llm-router",
"args": [
"install"
]
}
}
}Add Memory (Knowledge Graph)
npx -y @modelcontextprotocol/server-memoryPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"memory-knowledge-graph": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "/absolute/path/to/memory.jsonl"
}
}
}
}FAQ
llm-router or Memory (Knowledge Graph) — which is better?
Pick llm-router if you need the broadest set of tools. Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Can I use both llm-router and Memory (Knowledge Graph)?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do llm-router and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.