# skeletongraph [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/yashdoke7/skeletongraph  
**GitHub Stars:** 7  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/skeletongraph

## Description
Zero-LLM structural code retrieval for AI coding agents, served over MCP.

## Tools
Capabilities this server exposes over MCP:

- **sg_overview** — Constraints + top-N functions (by PageRank) + recent turns + index stats
- **sg_log** — Last-N turn summaries with files touched
- **sg_decision** — Recorded so it survives context compaction — recall later with `sg_log(kind="decision")

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "skeletongraph": {
    "command": "uvx",
    "args": ["skeletongraph"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/skeletongraph/readme_

