Open Source Tool
Code Intelligence MCP Server
A Model Context Protocol server that gives AI coding agents intelligent access to your codebase through semantic search and structural analysis.
Why not raw file access?
| Raw File Access | Code Intelligence MCP |
|---|---|
| Agent must read entire files to find code | Search by intent, describe what you need. |
| No understanding of code structure | Knows classes, functions, and connections. |
| Wastes tokens on comments/boilerplate | Returns only the relevant code symbols. |
| Agent guesses related files | Index updates automatically on file change. |
Technical Demo
1. Semantic Search (Describe what you need)
// Request
{
"name": "search_code",
"arguments": {
"query": "validate email address",
"include_content": true
}
}
// Response (Match Score: 0.89)
[
{
"file": "src/Validation/EmailValidator.cs",
"lines": "12-24",
"name": "IsValidEmail",
"content": "public bool IsValidEmail(string email)\n{\n if (string.IsNullOrWhiteSpace(email))\n return false;\n..."
}
]
2. Structural Analysis (See the map, not just text)
// Request
{
"name": "get_file_symbols",
"arguments": {
"path": "src/Services/PaymentService.cs"
}
}
// Response (Context aware)
{
"file": "src/Services/PaymentService.cs",
"symbols": [
{
"name": "PaymentService",
"kind": "class",
"children": [
{
"name": "ProcessPayment",
"signature": "(Order order) -> PaymentResult"
}
]
}
],
"imports": [ { "module": "PaymentGateway.Client" } ]
}
Supported Languages
| Language | Extensions |
|---|---|
| C# | .cs |
| TypeScript | .ts, .tsx |
| JavaScript | .js, .jsx |
| Python | .py |
| Go | .go |
| Rust | .rs |
| Java | .java |
| C/C++ | .c, .cpp, .cc |
| Ruby | .rb |