Overview
CodeAgent MCP is a hosted Model Context Protocol (MCP) server that gives LLMs such as Claude, Cursor, and Windsurf the ability to understand, navigate, and query any public GitHub repository. It clones a repository, parses it with tree-sitter, generates vector embeddings through Hugging Face Serverless API or FastEmbed, and exposes code-intelligence tools over Streamable HTTP.
The server acts as the "eyes and hands" of an LLM with a free hosted backend. A user can tell the LLM to index a GitHub repository; the LLM calls the index_github_repo tool. CodeAgent then performs a shallow clone, parses every file into an Abstract Syntax Tree using tree-sitter in parallel, generates cloud vector embeddings via the Hugging Face API, and stores symbols and imports in a PostgreSQL database via a single bulk transaction.
After indexing, the LLM can generate architecture diagrams, perform semantic vector searches, and navigate the codebase. The available MCP tools include index_github_repo, generate_architecture_diagram, semantic_search_tool, search_symbols, list_all_symbols, find_callers_tool, read_code, and get_imports. The project is open-source under the MIT License and can be self-hosted or used through a public hosted endpoint.
Pricing
Free
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use CodeAgent to index a public GitHub repository and receive a unique session_id for subsequent queries.
- Teams use CodeAgent to generate a Mermaid.js class diagram of a repository's architecture.
- Teams use CodeAgent to search code by meaning rather than exact keyword match.
- Teams use CodeAgent to find functions or classes by partial name.
- Teams use CodeAgent to list all symbols filtered by kind.
- Teams use CodeAgent to find where a function is called.
- Teams use CodeAgent to read exact source code lines from disk with line numbers.
- Teams use CodeAgent to list all imports recorded for a specific file.
Features
Index public GitHub repositories
Navigate repository code
Search code by meaning
Analyze repository architecture
Access capabilities through an MCP server
Reviews
No reviews yet. Be the first to share your experience!