{"repo":"ThinkyMiner/codeTree","free":true,"listed":false,"github":"https://github.com/ThinkyMiner/codeTree","clone":"git clone https://github.com/ThinkyMiner/codeTree.git","description":"MCP server with 23 tools for structured code understanding via tree-sitter. 10 languages. 999 tests. One-command install.","language":"Python","stars":28,"topics":["ai","ast","claude","code-analysis","coding-agents","copilot","cursor","developer-tools","llm","mcp"],"license":"MIT","category":"mcp-servers","readme_excerpt":"codetree Stop feeding entire files to your AI agent. codetree is an MCP server that gives coding agents structured code understanding via tree-sitter — so they ask precise questions instead of reading thousands of lines. 23 tools, 11 languages, 1 second startup. No vector DB, no embedding model, no config. Quick Start Prerequisite: Install uv if you don't have it ( curl -LsSf https://astral.sh/uv/install.sh sh ). Then cd into any project and run: That's it. The . means \"this project.\" Your agent now has structured code understanding. Not using Claude Code? See Editor Setup for Cursor, VS Code, Windsurf, and Claude Desktop. Before / After Before codetree — agent reads the raw file: Tokens consumed: 2,000+ for the full file After codetree — agent asks for the skeleton: Tokens consumed: 80. That's a 25x reduction. The agent sees every class, method, and docstring — with line numbers — without reading a single function body. When it needs the full source of divide , it calls get symbol(\"calculator.py\", \"divide\") and gets just those 6 lines. 23 Tools Understand Structure Tool Purpose ------ --------- get file skeleton(file path) Classes, functions, methods with line numbers + doc comments get symbol(file path, symbol name) Full source of a function or class get skeletons(file paths) Batch skeletons for multiple files get symbols(symbols) Batch source for multiple symbols get imports(file path) Import statements with line numbers Navigate Relationships Tool Purpose ------ ---------","default_branch":null,"files":null,"tree":[],"storefront":"/r/ThinkyMiner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ThinkyMiner/codeTree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}