Skeletongraph logo

Skeletongraph

Indexes repositories without an LLM and gives coding agents ranked functions, turn history, and durable decisions over MCP.

Install Skeletongraph

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "skeletongraph": {
      "command": "uvx",
      "args": [
        "skeletongraph"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

uvx skeletongraph

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The skeletongraph MCP server indexes repositories with tree-sitter and provides zero-LLM structural code retrieval for AI coding agents. It ranks functions using BM25, embeddings, and call-graph structure, then combines those rankings to surface relevant symbols with file and line information. Use it when an agent needs repository context, task-oriented code discovery, index statistics, or persistent decision records. Its tools also expose recent turn summaries and files touched.

Use cases

  • Retrieve functions related to an issue or coding task
  • Inspect repository constraints and index statistics
  • Review recent agent turns and touched files
  • Persist decisions across context compaction

Key features

  • Zero-LLM tree-sitter repository indexing
  • BM25, embedding, and call-graph ranking
  • Reciprocal-rank fusion for symbol retrieval
  • PageRank-ranked function overview
  • Turn summaries and touched-file logging
  • Persistent decision recording

Tools3

What Skeletongraph lets your agent do. Expand a tool for its parameters.

Self-reported~57 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 83d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · skeletongraph (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Tools exposed3Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Skeletongraph works

What skeletongraph MCP server does

The skeletongraph MCP server builds a structural index of a repository without using an LLM. It parses source code into function and symbol information, then makes that indexed context available to an AI coding agent through MCP. The intended use is repository-level code retrieval: helping an agent identify relevant functions rather than returning an undifferentiated list of files.

The index is designed around three retrieval signals. BM25 provides lexical matching, embeddings provide dense similarity, and the call graph contributes structural relationships between symbols. Reciprocal-rank fusion combines these signals into a ranked result.

How it works

A repository is parsed once with tree-sitter, without an LLM. The resulting function nodes are connected through call edges and used to create the searchable structural representation. When an agent needs context, the retrieval process ranks symbols against the task or issue text and returns the combined ordering through MCP.

The server also keeps agent-oriented project state. Overview data can include repository constraints, top-ranked functions by PageRank, recent turns, and index statistics. Turn history records summaries and the files touched. Decisions can be recorded so they remain available after context compaction and can later be recalled through the log tool.

Tools and capabilities

The exposed MCP tools are:

  • sg_overview: Returns constraints, the top functions ranked by PageRank, recent turns, and index statistics.
  • sg_log: Returns the latest turn summaries and the files touched. It can also be used to recall recorded decisions with kind="decision".
  • sg_decision: Records a decision for later retrieval, including after context compaction.

The skeletongraph MCP server lists support for repositories containing Python, JavaScript, TypeScript, Go, Rust, Java, C#, C++, Ruby, and PHP code. The README specifically evaluates retrieval on Python repositories, so the documented evaluation evidence should not be generalized to every listed language.

Limitations and notes

Retrieval quality and task outcomes are separate concerns. The supplied evaluation reports that the retriever often found the correct file, but production agents frequently found and edited that file without it. The reported study found no statistically detectable solve-rate improvement for the production-agent settings tested. Its effect on cost depended on the agent: systems that spent more time searching generally used fewer tokens with the retriever, while leaner systems could incur additional tokens and turns.

The evaluation covered Claude Code, Codex CLI, and a controlled loop across SWE-bench datasets, with patches checked by running project tests. Those findings describe the tested settings rather than a guarantee for another agent, repository, or workload.

The README names Cursor, Claude Code, Codex, Windsurf, and Cline as compatible clients, and also states that the server works with any MCP client.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Skeletongraph

skeletongraph is an MCP server that indexes a code repository with tree-sitter and exposes structural retrieval context to AI coding agents. Its main tools are sg_overview for ranked functions, recent turns, constraints, and index statistics; sg_log for turn summaries; and sg_decision for durable recorded decisions.

It identifies the project as an MCP server and links to its GitHub repository and PyPI package, but those references alone do not establish a specific installation procedure.

Yes, Cursor is listed as a compatible client. The README also names Claude Code, Codex, Windsurf, and Cline, and states that skeletongraph works with any MCP client.

skeletongraph lists support for Python, JavaScript, TypeScript, Go, Rust, Java, C#, C++, Ruby, and PHP. The documented evaluation focuses on Python repositories, so the provided study results apply specifically to that evaluation scope.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSkeletongraph AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/skeletongraph?style=directory)](https://allmcps.com/mcp/skeletongraph)
HTML Embed
<a href="https://allmcps.com/mcp/skeletongraph"><img src="https://allmcps.com/api/badge/skeletongraph?style=directory" alt="Skeletongraph on AllMCPs" /></a>