Graphicle MCP Server
OfficialGraphicle is a read-only MCP server that gives a coding agent cited context from a project's code graph, sources, and reviewed memory without needing a model call.
Search for evidence (
recall_project): retrieves ranked source excerpts plus current memory under a token/char budget, with file-and-line citations; supports prefix filters (file:,file:docs/,connector:<id>:), skipping already-shown spans, chronological ordering, and optional local embedding/reranker profiles.Read original sources (
read_project_source): opens a file by ID or repository path at an exact byte/line offset, continues where an excerpt stopped, or reads it as it was in an older snapshot digest.Browse the repository (
repository_status,repository_files): check source coverage, revisions and memory state, and list authorized paths and IDs with paging and prefix filtering.Use project memory (
project_memory,search_project_memory,project_memory_history,prepare_memory_refresh): read drafts, review state and freshness; search by name/alias, scope and validity time (identity or lexical mode); inspect immutable revisions as known at a timestamp; and gather current evidence plus a delta contract for a refresh — all without writing or calling a model.Query the code graph at a point in time (
graph_as_of): reconstruct the typed graph at an episode (commit sha,latest,working) or byvalid_at/known_at/branch, filtered by node, id substring or relation types, with labels and recorded contradictions.Graphify-compatible graph tools (
query_graph,get_node,get_neighbors,get_community,god_nodes,graph_stats,shortest_path): BFS/DFS search, node details, neighbor and community listings, most-connected
Provides pull-request tools (list_prs, get_pr_impact, triage_prs) through the GitHub CLI, enabling agents to list, assess impact of, and triage pull requests.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Graphicle MCP Server where are failed requests retried in this repo?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quick start
brew install graphicle-ai/tap/graphicle
cd your-repo
graphicle setupNo Homebrew? curl -fsSL https://github.com/graphicle-ai/graphicle/releases/latest/download/install.sh | sh · Windows: a preview build (install)
graphicle setup builds the code graph, connects the coding agents it finds and keeps the graph current with Git hooks. It lists every file it changes and backs each one up first; graphicle disconnect undoes it all.
Then ask your agent to "use graphicle to find where failed requests are retried", or ask from the terminal:
$ graphicle ask "where is tax added to prices?"
Evidence for "where is tax added to prices?"
4 excerpts · 606 of 3,000 tokens
[1] shop/pricing.py:1-7 price_with_tax()
"""Prices and tax."""
TAX_RATE = 0.2
def price_with_tax(price):
"""A price with the sales tax added."""
return round(price * (1 + TAX_RATE), 2)Real output, cut after the first excerpt. No model needed: ask shows the evidence, and graphicle config set model anthropic (or openai, ollama) adds written answers.
Related MCP server: setsu
Why Graphicle
Fast on real repositories. On Kubernetes, Graphicle 0.1.17 built the code graph in 3 min 20 s against 33 min 11 s for Graphify 0.9.108, updated it after a commit in 4 min 30 s against 27 min 54 s, and in 21 s against 8 min 48 s when nothing had changed (labels under the chart above).
Memory tied to your code. Docs, decisions and past Claude Code and Codex sessions sit next to the graph. A memory is tied to the functions it is about and goes stale when that code changes.
Answers you can check. Every excerpt names its file and lines, within a token budget you set. Memories an agent proposes wait for your approval.
One program, not a stack. Code graph, memory, one MCP server, an app and the command line in one install, with one SQLite file. No Python, Docker or database server.
What your agent gets
The code graph. Files, functions, classes, calls and imports, parsed with tree-sitter and no model, under Graphify's tool names (
query_graph,get_neighbors,shortest_path, ...).graphicle graph affected "retry()"lists what a change touches.Project memory. Markdown, PDF, Office and HTML docs, reviewed decisions and captured agent sessions, searched together with the code.
Cited context on a budget.
graphicle contextand the MCP tools return excerpts with their sources, without calling a model.Always current. Graphicle syncs the files you changed before each answer, and Git hooks update the graph after each commit, merge and checkout.
An app.
graphicle openshows the graph, the sources and the memory in your browser, and is where you approve memories.
More: packs for long-context models · reviews of a branch · a project wiki · from a bug on the screen to a tested fix · several repositories in one connection
Works with your agents
graphicle setup connects every client it finds over MCP. Each file is backed up once as <file>.graphicle-bak, and graphicle disconnect removes what it added.
Client | Where setup connects it | Session capture |
Claude Code |
| hooks in |
Codex |
| hooks in |
Cursor |
| |
VS Code |
| |
Claude Desktop |
| |
Muse Code |
| preview: |
OpenCode |
| |
Any other MCP client | a short JSON entry (MCP) |
Agent memory, compared
In a pre-release comparison with seven memory systems (development sets; one open model, Qwen3.8-27B, as every system's reader, judge and model; a pre-release build of Graphicle), Graphicle matched Hindsight 0.10.2 and beat Mem0 OSS 2.2.1 (the open-source library, not Mem0's hosted platform) on LoCoMo-10, with far fewer model calls while ingesting.
System | LoCoMo-10 accuracy [95% CI] | Model calls per conversation, ingesting |
Graphicle (pre-release build) | 87.7 [85.1, 90.2] | 12 |
Hindsight 0.10.2 | 87.3 [85.6, 89.1] | 160 |
Mem0 OSS 2.2.1 | 81.9 [79.6, 84.4] | 332 |
All eight systems, the other two development sets and every caveat.
Coming from Graphify?
The code-graph engine is a Rust port of Graphify that follows its releases (currently Graphify 0.9.103) and keeps its MCP tool names. graphicle setup offers to switch a repository, backs up each file it changes and never deletes graphify-out/. Moving from Graphify.
FAQ
Nothing by default, apart from a daily check for a new release (GRAPHICLE_NO_UPDATE_NOTIFIER=1 turns it off). Graphicle reaches the network only for a model or connector you configure, a full graphicle graph extract (documents and images go to the LLM whose API key it finds), and the GitHub CLI for the commands that use it. Your sources, memories and graph live in one SQLite store in your user data folder; the app and its endpoints listen on 127.0.0.1. Sync respects .gitignore and skips .env files, keys and credentials. Details
No, for most of it. The code graph (with --code-only), sync, context, the MCP server, session capture and the app work without one. A model writes the answers of graphicle ask and proposes memories; local models through Ollama or any OpenAI-compatible server work (configuration).
Kubernetes (25,899 code files) builds in minutes on 4 vCPUs (chart above). By default a project can hold up to 100,000 text files and 1 GiB of text; you can raise both (limits).
Graphicle is free and open source under Apache-2.0, for individuals and teams alike. A commercial edition for teams is in private preview. To talk to us, start a discussion.
More answers: FAQ · Troubleshooting · or run graphicle doctor.
Documentation
Quick start · Agents · MCP · Install · Configuration · Team server · Moving from Graphify · Benchmarks · FAQ · Changelog
The code: crates/graphicle/ (the program), crates/graphicle-graph/ (the code-graph engine), crates/graphicle-memory/ (the memory library), SDKs for Python and TypeScript.
Contributing
Contributions are welcome under the Apache License 2.0, with a Developer Certificate of Origin sign-off (git commit -s) and no CLA. See CONTRIBUTING.md. To report a security problem, follow SECURITY.md rather than opening a public issue.
License and credits
Graphicle is licensed under the Apache License 2.0. Copyright 2026 KarLex AI, Inc.
Code signing policy: release builds are not yet signed with a trusted certificate. The Windows programs are signed through SignPath with a test certificate, which Windows does not trust, or left unsigned when that signing fails; each release's notes say which. Signing with the SignPath Foundation's certificate is planned. The policy also lists every case in which Graphicle contacts the network.
The code-graph engine is a Rust port of Graphify by Safi Shamsi and the Graphify
contributors, licensed under Apache-2.0, with portions that remain available under the MIT License. Thank you.
NOTICE, NOTICE.md and the licenses/ folders hold the attributions and the licences of every adapted project and third-party component.
Available Tools
22 toolsget_communityBRead-onlyIdempotent
Get all nodes in a community by community ID.
Inputs: community_id (required), repo, as_of, token_budget.
get_neighborsCRead-onlyIdempotent
Get all direct neighbors of a node with edge details.
Inputs: repo, as_of, label, node_id, +2 more.
get_nodeCRead-onlyIdempotent
Get full details for a specific node by label or ID.
Inputs: repo, as_of, label, node_id.
god_nodesBRead-onlyIdempotent
Return the most connected nodes - the core abstractions of the knowledge graph.
Inputs: repo, as_of, top_n, exclude_hubs_percentile.
graph_as_ofARead-onlyIdempotent
Query either valid_at/known_at/branch for independent world and recording time, or the repository's typed code graph at an episode selector (as_of: episode id, commit sha label, latest or working), reconstructed from recorded history without re-extraction. Narrow with node (exact id), query (id substring) or relations; includes parent episode, labels and cardinality-one contradictions recorded at that episode.
Inputs: node, repo, as_of, limit, +6 more.
graph_episodesCRead-onlyIdempotent
List recorded graph episodes and their labels for a repository.
Inputs: repo.
graph_history_statsARead-onlyIdempotent
Storage and timing summary for a repository's graph history: row counts and content bytes per table (nodes, edges, edge_sources, coverage, cross_edges, unresolved_calls), episode count, recent coverage uploads with their format and granularity, the latest change-impact report's wall-clock time, and the retention defaults in force.
Inputs: repo.
graph_linkAIdempotent
Resolve imports between the independently indexed repositories of this workspace (Python, TypeScript/JavaScript, Go) by package identity and persist the cross-repository edges with both episodes; re-running after new episodes closes stale edges. Then recompute and persist the links from documents to the code symbols they name. Only repositories the caller may read take part.
Inputs: no named parameters.
graph_statsBRead-onlyIdempotent
Return summary statistics: node count, edge count, communities, confidence breakdown.
Inputs: repo, as_of.
prepare_memory_refreshCRead-onlyIdempotent
Prepare exact current evidence and a stable document delta contract. No model call or memory write.
Inputs: memory_id (required).
prepare_observationsCRead-onlyIdempotent
Prepare current source excerpts, existing claim targets and the interpretation contract. Use your own model; no provider call.
Inputs: limit, source_id, start_byte.
project_memoryCRead-onlyIdempotent
Read memory drafts, review state and freshness. Stored procedures are not execution permission.
Inputs: include_retired.
project_memory_historyARead-onlyIdempotent
Inspect immutable memory revisions, optionally as known at an RFC3339 timestamp.
Inputs: memory_id (required), known_at.
query_graphBRead-onlyIdempotent
Search the knowledge graph using BFS or DFS. Returns relevant nodes and edges as text context.
Inputs: question (required), mode, repo, as_of, +3 more.
read_project_sourceBRead-onlyIdempotent
Read an authorized original source by ID or repository path, with exact byte continuation.
Inputs: path, sha256, snapshot, source_id, +3 more.
recall_projectBRead-onlyIdempotent
Find original source evidence and current reviewed memory. Optional local model profiles select explicitly configured CPU embedding and reranking; leave the reranker unset for a project holding one conversation's sessions, where it did not raise held-out recall and took about 20 s per question. Continue incomplete sources before making decisions.
Inputs: question (required), mode, needs, shown, +8 more.
repository_filesCRead-onlyIdempotent
List authorized source paths and IDs.
Inputs: limit, offset, prefix.
repository_statusCRead-onlyIdempotent
Inspect source coverage, source revisions and memory state.
Inputs: no named parameters.
search_project_memoryARead-onlyIdempotent
Search reviewed structured memory by its declared name or alias, scope and validity. Explicit lexical mode discovers text matches. Returns source citations and ambiguity diagnostics; makes no model call.
Inputs: question (required), as_of, limit, scopes, +3 more.
session_timelineARead-onlyIdempotent
Browse captured coding-agent turns (Claude Code, Codex) of this project: the latest session by default, or the session of an anchor turn, with turns before and after it and the recent sessions. Returns titles, times and source ids; read_project_source returns a whole turn.
Inputs: after, before, session_id, anchor_source_id.
shortest_pathARead-onlyIdempotent
Find the shortest path between two concepts in the knowledge graph. Follows stored edge direction by default; set undirected=true to ignore it.
Inputs: source (required), target (required), repo, as_of, +2 more.
workflow_statusBRead-onlyIdempotent
Inspect the caller's queued work and recorded model usage.
Inputs: job_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Several graph-query tools (query_graph, graph_as_of, get_node, get_neighbors, shortest_path, graph_stats, graph_history_stats, graph_episodes) all retrieve graph information, and memory tools (recall_project, search_project_memory, project_memory, prepare_observations, prepare_memory_refresh) have related search/preparation roles. Descriptions help distinguish temporal vs current, summary vs detail, but an agent can still hesitate between stats variants and memory preparation tools.
All names use snake_case, which is consistent and readable. However, the pattern mixes verb_noun (get_node, query_graph, prepare_observations) with noun phrases (god_nodes, graph_stats, project_memory, repository_status), so it is not a uniform verb_noun convention.
22 tools is at the upper end of the moderate range (16-25 feels heavy). The surface covers several subsystems (graph query, memory, source, sessions, workflow), which justifies some breadth, but consolidation of overlapping query/stats tools could reduce the count.
The server covers graph querying, temporal episodes, memory reading/search/history, source access, session browsing, and preparation contracts. Minor gaps include no explicit commit/apply tool for prepared memory or observations, and no general repository/project listing, but core workflows appear supported.
Maintenance
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Related MCP Servers
AlicenseAqualityDmaintenanceSelf-hosted Mem0 MCP server integrating Qdrant, Neo4j, and Ollama for semantic memory search, graph entity relationships, and memory management via OpenMemory API.64MIT- AlicenseNot gradedqualityBmaintenanceProvides AI coding agents with token-budgeted, context-aware code retrieval from a persistent code graph, enabling efficient question answering without loading the entire repository.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to retrieve bounded, focused context from a local structural code graph, including source entities, Git relationships, and recorded project memory. It supports exploring structure, inspecting callers, callees, and impact, and carrying prior mistakes into later sessions without reading full files.24 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to query a local structural code graph, inspect code relationships and recorded mistakes, and retrieve focused project context before reading entire files.24 npmMIT