Skip to main content
Glama
Graphicle MCP Server

Graphicle MCP Server

Official

Quick start

brew install graphicle-ai/tap/graphicle
cd your-repo
graphicle setup

No 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 context and 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 open shows 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

.mcp.json in the repository

hooks in .claude/settings.local.json

Codex

~/.codex/config.toml

hooks in ~/.codex/hooks.json

Cursor

~/.cursor/mcp.json

VS Code

.vscode/mcp.json in the repository

Claude Desktop

claude_desktop_config.json

Muse Code

~/.config/muse/settings.json (Muse Code)

preview: graphicle connect muse --hooks

OpenCode

~/.config/opencode/opencode.json (or .jsonc)

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 tools
get_communityB
Read-onlyIdempotent

Get all nodes in a community by community ID.

Inputs: community_id (required), repo, as_of, token_budget.

get_neighborsC
Read-onlyIdempotent

Get all direct neighbors of a node with edge details.

Inputs: repo, as_of, label, node_id, +2 more.

get_nodeC
Read-onlyIdempotent

Get full details for a specific node by label or ID.

Inputs: repo, as_of, label, node_id.

god_nodesB
Read-onlyIdempotent

Return the most connected nodes - the core abstractions of the knowledge graph.

Inputs: repo, as_of, top_n, exclude_hubs_percentile.

graph_as_ofA
Read-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_episodesC
Read-onlyIdempotent

List recorded graph episodes and their labels for a repository.

Inputs: repo.

graph_history_statsA
Read-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_statsB
Read-onlyIdempotent

Return summary statistics: node count, edge count, communities, confidence breakdown.

Inputs: repo, as_of.

prepare_memory_refreshC
Read-onlyIdempotent

Prepare exact current evidence and a stable document delta contract. No model call or memory write.

Inputs: memory_id (required).

prepare_observationsC
Read-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_memoryC
Read-onlyIdempotent

Read memory drafts, review state and freshness. Stored procedures are not execution permission.

Inputs: include_retired.

project_memory_historyA
Read-onlyIdempotent

Inspect immutable memory revisions, optionally as known at an RFC3339 timestamp.

Inputs: memory_id (required), known_at.

query_graphB
Read-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_sourceB
Read-onlyIdempotent

Read an authorized original source by ID or repository path, with exact byte continuation.

Inputs: path, sha256, snapshot, source_id, +3 more.

recall_projectB
Read-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_filesC
Read-onlyIdempotent

List authorized source paths and IDs.

Inputs: limit, offset, prefix.

repository_statusC
Read-onlyIdempotent

Inspect source coverage, source revisions and memory state.

Inputs: no named parameters.

search_project_memoryA
Read-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_timelineA
Read-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_pathA
Read-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_statusB
Read-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

    B3.1/5.0

    Scored across 22 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Self-hosted Mem0 MCP server integrating Qdrant, Neo4j, and Ollama for semantic memory search, graph entity relationships, and memory management via OpenMemory API.
      6
      4
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides 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
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables 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 npm
      MIT