MCP server that builds a semantic graph memory from your project — indexes docs, code, and files, exposes 50+ tools for search, knowledge, tasks, and skills.
{
"mcpServers": {
"graphmemory": {
"args": [
"-y",
"@graphmemory/server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP server that builds a semantic graph memory from a project directory. Indexes markdown docs, TypeScript/JavaScript source code, and all project files into graph structures, then exposes them as 70 MCP tools + REST API + Web UI.
Is it safe?
No known CVEs for @graphmemory/server.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 6 days ago. 7 stars.
Will it work with my client?
Transport: sse, http. Compatibility not confirmed.
Context cost
67 tools. Consider loading selectively.
An MCP server that builds a semantic graph memory from a project directory. Indexes markdown docs, TypeScript/JavaScript source code, and all project files into graph structures, then exposes them as 70 MCP tools + REST API + Web UI.

npm install -g @graphmemory/server
cd /path/to/my-project
graphmemory serve
That's it. No config file needed — the current directory becomes your project. Open http://localhost:3000 for the web UI.
The embedding model (~560 MB) downloads on first startup and is cached at ~/.graph-memory/models/.
Claude Code:
claude mcp add --transport http --scope project graph-memory http://localhost:3000/mcp/my-project
Claude Desktop — add via Settings > Connectors, enter the URL:
http://localhost:3000/mcp/my-project
Cursor / Windsurf / other clients — enter the URL directly in settings:
http://localhost:3000/mcp/my-project
The project ID is your directory name. Multiple clients can connect simultaneously.
For multi-project setups, custom embedding models, auth, or workspaces — create graph-memory.yaml:
projects:
my-app:
projectDir: "/path/to/my-app"
docs-site:
projectDir: "/path/to/docs"
graphs:
code:
enabled: false
graphmemory serve --config graph-memory.yaml
See docs/configuration.md for full reference and graph-memory.yaml.example for all options.
docker run -d \
--name graph-memory \
-p 3000:3000 \
-v $(pwd)/graph-memory.yaml:/data/config/graph-memory.yaml:ro \
-v /path/to/my-app:/data/projects/my-app:ro \
-v graph-memory-models:/data/models \
ghcr.io/graph-memory/graphmemory-server
Docker Compose:
services:
graph-memory:
image: ghcr.io/graph-memory/graphmemory-server
ports:
- "3000:3000"
volumes:
- ./graph-memory.yaml:/data/config/graph-memory.yaml:ro
- /path/to/my-app:/data/projects/my-app
- models:/data/models
restart: unless-stopped
depends_on:
redis:
condition: service_healthy
redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
volumes:
models:
redis-data:
Redis is optional. Remove the
redisservice anddepends_onif you don't need shared session store or embedding cache.
See docs/docker.md for details.
| Feature | Description |
|---|---|
| Docs indexing | Parses markdown into heading-based chunks with cross-file links and code block extraction |
| Code indexing | Extracts AST symbols (functions, classes, interfaces) via tree-sitter |
| File index | Indexes all project files with metadata, language detection, directory hierarchy |
| Knowledge graph | Persistent notes and facts with typed relations and cross-graph links |
| Task management | Kanban workflow with priorities, assignees, and cross-graph context |
| Skills | Reusable recipes with steps, triggers, and usage tracking |
| Hybrid search | BM25 keyword + vector cosine similarity with BFS graph expansion |
| Real-time | File watching + WebSocket push to UI |
| **Multi- |
This server supports HTTP transport. Be the first to test it — help the community know if it works.
get_contextGet context information
docs_list_filesList documentation files
docs_get_tocGet table of contents for documentation
docs_searchSearch documentation
docs_get_nodeGet a documentation node
docs_search_filesSearch documentation files
docs_find_examplesFind examples in documentation
docs_search_snippetsSearch code snippets in documentation
docs_list_snippetsList code snippets from documentation
docs_explain_symbolExplain a code symbol from documentation
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Graphmemory and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.