◆ Claudius
Status

Trail-Code

MCP

MCP server that builds a knowledge graph of a codebase using tree-sitter to provide precise contextual code intelligence to AI coding agents.

by trailhq·trailhq/Trail-Code·TypeScript
95· A
Install
git clone https://github.com/trailhq/Trail-Code
Stars
11.5K
7d change
▲ 0.99%
Downloads / week
—
Last active
today
About

Trail-code gives Claude Code, Cursor, Codex and other coding agents a map of your code, and what your team has learned about it.

[!NOTE] Graft is now Trail-code. Graft lives on as the graft map, and every `graft` command still works. What's new is learnings. What changed

Same model, more tasks solved. On SWE-bench Verified (real GitHub issues, graded by the maintainers' own tests), Claude Sonnet 5 solved 33 of 50 issues with the graft map and 27 of 50 without it, using 23% fewer tokens. Details

Cheaper and faster. Across 162 runs of the same agent on the same tasks: 32% lower cost, 42% fewer uncached input tokens, 60% less time, and the same share of correct answers. On PocketBase, 15 real tasks ran 21% cheaper and 14% faster. Details

Read more on GitHub →
30-day stars
Trust factors
Source
community
Known advisories
0
Maintenance
active
License
MIT
Age
4 months
code-intelligencedeveloper-tools#code-graph#knowledge-graph#tree-sitter#codebase-analysis#context-engineering#multi-agent#ai-agents#anthropic#cli#codex#cursor#gemini#llm#mcp#open-source#openai