MCP server with 23 tools for structured code understanding via tree-sitter
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-server-codetree","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# codetree [](https://github.com/ThinkyMiner/codeTree/actions/workflows/test.yml) [](https://pypi.org/project/mcp-server-codetree/) [](https://pypi.org/project/mcp-server-codetree/) [](LICENSE) **Stop feeding entire files to your AI agent.** codetree is an [MCP](https://modelcontextprotocol.io/) server that gives coding agents structured code understanding via [tree-sitter](https://tree-sitter.github.io/) — so they ask precise questions instead of reading thousands of lines. 23 tools, 10 languages, ~1 second startup. No vector DB, no embedding model, no config. ## Quick Start **Prerequisite:** Install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you don't have it (`curl -LsSf https://astral.sh/uv/install.sh | sh`). Then `cd` into any project and run: ```bash claude mcp add codetree -- uvx --from mcp-server-codetree codetree --root . ``` That's it. The `.` means "this project." Your agent now has structured code understanding. > Not using Claude Code? See [Editor Setup](#editor-setup) for Cursor, VS Code, Windsurf, and Claude Desktop. ## Before / After ### Before codetree — agent reads the raw file: ```python $ cat calculator.py import math from typing import Optional class Calculator: """A scientific calculator with memory.""" def __init__(self): self.memory = 0 self.history = [] def add(self, a: float, b: float) -> float: """Add two numbers.""" result = a + b self.history.append(('add', a, b, result)) return result def divide(self, a: float, b: float) -> Optional[float]: """Divide a by b, returns None on zero division.""" if b == 0: return None result = a /…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.