octocode-mcp
AI code research platform. Search, analyze, and extract insights from any GitHub repository.
The Octocode MCP Server connects your AI assistant to various code repositories, allowing for seamless searching across public and private repositories based on user permissions. It enables users to find usage patterns, read implementations, and explore pull requests, making it easier to understand and utilize existing codebases. Additionally, it supports local tools for searching code, browsing directories, and finding files within your local codebase, enhancing productivity and efficiency in software development. With built-in LSP intelligence, the server provides advanced features such as 'Go to Definition', 'Find References', and 'Call Hierarchy', which facilitate a deeper understanding of code structures and relationships. This combination of capabilities transforms any accessible codebase into AI-optimized knowledge, allowing developers to navigate simple and complex flows effortlessly.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"octocode-mcp": {
"args": [
"-y",
"octocode-mcp"
],
"command": "npx"
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions