Skip to content
appsgit

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 946 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)

Install Octocode MCP - AI Context Platform

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "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-mcp

Cursor

.cursor/mcp.json
{
  "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

.vscode/mcp.json
{
  "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.

NameRequiredDescription
GITHUB_TOKENsecretNoGitHub 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

FAQ

Octocode MCP - AI Context Platform FAQ

Still curious? Email info@appsgit.com.

What is 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 946 GitHub stars, is released under the MIT license and runs locally with npx -y octocode-mcp. The source code is at github.com/bgauryy/octocode.

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 and re-checks every server daily.