Grok-MCP 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.
| Grok-MCP MCP server for xAI's Grok API: agentic tool calling, image/video generation, vision, and file support. Unverified stdio (local) API key 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 | API key | None |
| GitHub stars | 39 | 74k |
| Last commit | 11 days ago | 5 months ago |
| Verified | ||
| Actively maintained | ||
| Install | git clone https://github.com/merterbak/Grok-MCP.git && cd Grok-MCP && uv venv && uv sync | npx -y @modelcontextprotocol/server-memory |
| Repo | Open | Open |
Verdict
Pick Grok-MCP 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 Grok-MCP
git clone https://github.com/merterbak/Grok-MCP.git && cd Grok-MCP && uv venv && uv syncPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"grok-mcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/Grok-MCP",
"run",
"python",
"main.py"
],
"env": {
"XAI_API_KEY": "your_api_key_here"
}
}
}
}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
Grok-MCP or Memory (Knowledge Graph) — which is better?
Pick Grok-MCP 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 Grok-MCP 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 Grok-MCP and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.