{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_4sthqj958t73","handle":"mcp-server-codetree","url":"https://wellknown.network/agents/mcp-server-codetree","links":{"self":"https://wellknown.network/agents/mcp-server-codetree/record.json","html":"https://wellknown.network/agents/mcp-server-codetree","markdown":"https://wellknown.network/agents/mcp-server-codetree/record.md","api":"https://wellknown.network/api/v1/agents/mcp-server-codetree","status":"https://wellknown.network/api/v1/agents/mcp-server-codetree/status","claim":"https://wellknown.network/agents/mcp-server-codetree/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-server-codetree/claim.json","badge":"https://wellknown.network/agents/mcp-server-codetree/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-server-codetree/history","tools":"https://wellknown.network/api/v1/agents/mcp-server-codetree/tools"},"ard":{"identifier":"urn:air::server:mcp-server-codetree","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-server-codetree","summary":"MCP server with 23 tools for structured code understanding via tree-sitter","description":"# codetree\n\n[![Tests](https://github.com/ThinkyMiner/codeTree/actions/workflows/test.yml/badge.svg)](https://github.com/ThinkyMiner/codeTree/actions/workflows/test.yml)\n[![PyPI](https://img.shields.io/pypi/v/mcp-server-codetree)](https://pypi.org/project/mcp-server-codetree/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-server-codetree)](https://pypi.org/project/mcp-server-codetree/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n\n**Stop feeding entire files to your AI agent.**\n\ncodetree 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.\n\n## Quick Start\n\n**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`).\n\nThen `cd` into any project and run:\n\n```bash\nclaude mcp add codetree -- uvx --from mcp-server-codetree codetree --root .\n```\n\nThat's it. The `.` means \"this project.\" Your agent now has structured code understanding.\n\n> Not using Claude Code? See [Editor Setup](#editor-setup) for Cursor, VS Code, Windsurf, and Claude Desktop.\n\n## Before / After\n\n### Before codetree — agent reads the raw file:\n\n```python\n$ cat calculator.py\nimport math\nfrom typing import Optional\n\nclass Calculator:\n    \"\"\"A scientific calculator with memory.\"\"\"\n\n    def __init__(self):\n        self.memory = 0\n        self.history = []\n\n    def add(self, a: float, b: float) -> float:\n        \"\"\"Add two numbers.\"\"\"\n        result = a + b\n        self.history.append(('add', a, b, result))\n        return result\n\n    def divide(self, a: float, b: float) -> Optional[float]:\n        \"\"\"Divide a by b, returns None on zero division.\"\"\"\n        if b == 0:\n            return None\n        result = a /…","publisher":null,"homepage":"https://github.com/ThinkyMiner/codeTree","repository":"https://github.com/ThinkyMiner/codeTree/releases","version":"0.2.0","license":null,"protocols":["mcp"],"tags":["ai-coding","ast","claude","code-analysis","code-intelligence","coding-agents","copilot","cursor","developer-tools","mcp","mcp-server","model-context-protocol","static-analysis","tree-sitter"],"pricing":null,"endpoints":[{"url":"pypi:mcp-server-codetree","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"code.generation","name":"Code Generation","confidence":1,"provenance":"derived"},{"slug":"code.security-review","name":"Security Review","confidence":0.75,"provenance":"derived"}],"categories":["code"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-server-codetree","registry":"pypi","observedAt":"2026-10-22T11:30:14.943Z","publishedAt":"2026-04-05T17:05:44.417812Z","latestVersion":"0.2.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-server-codetree","url":"https://pypi.org/project/mcp-server-codetree/","firstSeenAt":"2026-09-10T03:20:08.363Z","fetchedAt":"2026-10-22T11:27:35.142Z","normalizedAt":"2026-10-22T11:27:35.142Z"}]},"firstSeenAt":"2026-09-10T03:20:08.363Z","updatedAt":"2026-10-22T11:30:14.943Z"}