Octocode logo

Octocode

Community
bgauryy

MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live docs from anywhere

Publisherbgauryy
Repositoryoctocode-mcp
LanguageTypeScript
Forks
69
Stars
815
Available tools
6
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Octocode exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 6 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    815 stars and 69 forks from the linked repository.

Octocode: Research Driven Development for AI


Installation

Prerequisites: GitHub authentication required. See Authentication Setup.

Recommended: Octocode CLI

bash
npx octocode-cli install

Interactive setup wizard with GitHub OAuth, MCP server installation, and skills marketplace. Pass --ide <ide> for non-interactive install (e.g. npx octocode-cli install --ide cursor).

Alternative Methods

Add to your MCP configuration file:

json
{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"]
    }
  }
}
bash
npx add-skill https://github.com/bgauryy/octocode-mcp/tree/main/skills/octocode-research

MCP Server

The Octocode MCP Server connects your AI assistant to code:

  • GitHub & GitLab: Search repositories, find usage patterns, read implementations, explore PRs
  • Local Tools: Search code, browse directories, find files in your local codebase
  • LSP Intelligence: Go to Definition, Find References, Call Hierarchy -- compiler-level understanding

https://github.com/user-attachments/assets/de8d14c0-2ead-46ed-895e-09144c9b5071


Skills

Agent Skills are a lightweight, open format for extending AI agent capabilities. Skills index: skills/README.md

SkillWhat it does
ResearcherCode search & exploration — local LSP + external (GitHub, npm/PyPI)
ResearchMulti-phase research with sessions, checkpoints, state persistence
EngineerUnderstand, write, analyze, audit code — AST + LSP + dependency graph
PlanEvidence-based planning: Understand > Research > Plan > Implement
RFC GeneratorFormal technical decisions with alternatives, trade-offs, and recommendations
PR ReviewerPR & local code review across 7 domains with LSP flow tracing
RoastBrutal code critique with file:line citations and severity levels
Prompt OptimizerTurn weak prompts into enforceable agent protocols
Doc Writer6-phase pipeline producing 16+ validated docs

https://github.com/user-attachments/assets/5b630763-2dee-4c2d-b5c1-6335396723ec


Documentation

For the full documentation index, start here: docs/README.md

Recommended quick links:

The Manifest

"Code is Truth, but Context is the Map." -- Read the Manifest for Research Driven Development to understand the philosophy behind Octocode.


Contributing

See the Development Guide for monorepo setup, testing, and contribution guidelines.


Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "octocode-mcp": {
      "command": "npx",
      "args": [
        "octocode-mcp"
      ]
    }
  }
}

Available Tools

  • githubSearchCode

    $2e

  • githubGetFileContent

    $2f

  • githubViewRepoStructure

    $30

  • githubSearchRepositories

    $31

  • githubSearchPullRequests

    Search or fetch Pull Requests (metadata, diffs, discussions)

  • packageSearch

    $32

Use Octocode MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Octocode is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Octocode as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Octocode MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": [
        "-y",
        "octocode-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Octocode MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Octocode MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Octocode to help me with this task?
Octocode
Sure. I read it.
Here is what I found using Octocode.

Frequently asked questions

What is the Octocode MCP server used for?

Octocode is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Octocode MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Octocode with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Octocode MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Octocode connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Octocode MCP to TypingMind?

Octocode runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Octocode MCP provide in TypingMind?

Octocode exposes 6 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Octocode MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Octocode requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇