Octocode MCP - AI Context Platform
Octocode MCP - AI Context Platform is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. AI code research platform. Search, analyze, and extract insights from any GitHub repository. It has 955 GitHub stars, is released under the MIT license and runs locally with npx -y octocode-mcp.
github.com/bgauryy/octocode (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install Octocode MCP - AI Context Platform
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"octocode-mcp-ai-context-platform": {
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env GITHUB_TOKEN=your-value --transport stdio octocode-mcp-ai-context-platform -- npx -y octocode-mcpCursor
{
"mcpServers": {
"octocode-mcp-ai-context-platform": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "github_token",
"description": "GITHUB_TOKEN",
"password": true
}
],
"servers": {
"octocode-mcp-ai-context-platform": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"octocode-mcp"
],
"env": {
"GITHUB_TOKEN": "${input:github_token}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
GITHUB_TOKENsecret | No | GitHub Personal Access Token. Optional - authenticate via GitHub CLI (gh auth login) for automatic token management, or set this token manually for CI/CD… |
About Octocode MCP - AI Context Platform
Evidence-first code research for AI agents and developers. Octocode researches your local code and external code alike (GitHub repositories, PRs, npm) with one toolset: ripgrep + AST search, trees, precise reads, and LSP. Use it as a CLI or MCP server, backed by a Rust engine for fast, token-efficient results across single files or mega-repos.
- ai
- claude-ai
- cursor-ai
- development
- mcp
- modelcontextprotocol
- octocode
- ai-agents
- ai-tools
- code-intelligence
Similar MCP servers
More developer tools MCP servers
HOL Guard
hashgraph-online/hol-guard
Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.
Active · last commit Oct 26, 2026
OfficialDeveloper toolsPythonInspo
Nutlope/inspo
Real production websites for coding agents: palettes, fonts, fold autopsies and reference JSX.
Maintained · last commit Oct 1, 2026
Developer toolsTypeScriptpyscn
ludo-technologies/pyscn
Python code analysis for AI agents: complexity, dead code, clones, coupling, and a health score.
Active · last commit Oct 26, 2026
Developer toolsGoOpenflowkit MCP
openflowkit/openflowkit
Architecture diagrams for your agent: draw on the live OpenFlowKit canvas or edit diagram files.
Active · last commit Oct 22, 2026
Developer toolsTypeScriptSafeDep Vet MCP
safedep/vet
Protect your AI agents and IDEs from malicious open-source packages.
Active · last commit Oct 24, 2026
OfficialDeveloper toolsGoFauxnix
20000419/fauxnix
Run Linux-style commands on Windows via deterministic bash→PowerShell translation.
Too new to judge · created Aug 16, 2026
Developer toolsTypeScript
How do I install the Octocode MCP - AI Context Platform MCP server?
Add the command npx -y octocode-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Octocode MCP - AI Context Platform free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Octocode MCP - AI Context Platform actively maintained?
The most recent commit was on Aug 25, 2026. The latest release is 9.1.1, published Dec 15, 2025. appsgit only lists MCP servers with a commit in the last six months.