AI-powered code indexer with semantic search and knowledge graphs
Connect Octocode to Claude, Cursor or any other MCP client and it stops being a tab you switch to. AI-powered code indexer with semantic search and knowledge graphs. The octocode mcp server is what makes that connection.
Now your AI assistant can: ``` You: "Where is authentication handled?" AI: searches your codebase "Authentication is in src/middleware/auth.rs, which imports jwt.rs for token validation and calls user_store.rs for lookup."
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
semantic_search — Find code by meaning — "authentication flow", "error handling", "database queries"view_signatures — View file structure — function signatures, class definitions, importsgraphrag — Query relationships — "what calls this function?", "what does this module import?"structural_search — AST pattern matching — find .unwrap() calls, new instantiations, specific patternslsp_goto_definition — Jump to a symbol's definition (requires --with-lsp)lsp_find_references — Find all usages of a symbol across the workspace (requires --with-lsp)lsp_hover — Type info and documentation for a symbol (requires --with-lsp)Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Configuration is passed through the environment: VOYAGE_API_KEY, OPENROUTER_API_KEY, OPENAI_API_KEY, JINA_API_KEY, GOOGLE_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Octocode's toolset — semantic_search, view_signatures, graphrag and 4 more — is a fair guide to whether it matches your workflow. It is maintained by Muvon; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Octocode's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| semantic_search | Find code by meaning — "authentication flow", "error handling", "database queries" |
| view_signatures | View file structure — function signatures, class definitions, imports |
| graphrag | Query relationships — "what calls this function?", "what does this module import?" |
| structural_search | AST pattern matching — find .unwrap() calls, new instantiations, specific patterns |
| lsp_goto_definition | Jump to a symbol's definition (requires --with-lsp) |
| lsp_find_references | Find all usages of a symbol across the workspace (requires --with-lsp) |
| lsp_hover | Type info and documentation for a symbol (requires --with-lsp) |
// Add to your AI assistant config
{
"mcpServers": {
"octocode": {
"command": "octocode",
"args": ["mcp", "--path", "/your/project"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| VOYAGE_API_KEY | Credential the server authenticates with. | Yes |
| OPENROUTER_API_KEY | Credential the server authenticates with. | Yes |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| JINA_API_KEY | Credential the server authenticates with. | Yes |
| GOOGLE_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.