# CodeGraph MCP server

> Turns source code and project knowledge into a searchable graph for AI agents using tree-sitter parsing and vector retrieval.

- Repository: https://github.com/Phoenixrr2113/codebase-graph
- Page: https://hostedmcp.org/servers/phoenixrr2113/codebase-graph
- Transport: —
- Stars: 7
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CODEGRAPH_DRIVER` | no | no |  |
| `FALKORDB_HOST` | no | no |  |
| `FALKORDB_PORT` | no | no |  |
| `FALKORDB_URL` | no | no |  |

## Tools (5)

- `analyze`
- `search`
- `knowledge`
- `codebase`
- `query`

## FAQ

### What programming languages are supported?

It supports TypeScript, JavaScript, Python, Go, Rust, and Markdown, with generic tree-sitter support for other languages.

### How can I use CodeGraph with an AI agent?

You can add the server configuration to an MCP client using npx to run @agntk/codegraph-mcp.

### Does it require an external database?

It can run with embedded FalkorDBLite on Linux x64 and Apple silicon macOS, or connect to an external FalkorDB service on other platforms.
