octocode-mcp
Serveur mcp pour la recherche sémantique de code et la génération de contexte en temps réel à l'aide de modèles LLM | Effectuez des recherches naturelles dans des dépôts publics et privés en fonction de vos autorisations | Transformez n'importe quelle base de code accessible en connaissances optimisées pour l'IA sur des flux simples et complexes | Trouvez des implémentations réelles et de la documentation en direct depuis n'importe où
Octocode: Research Driven Development for AI
Stop Guessing. Start Knowing.
Empower your AI assistant with the skills of a Senior Staff Engineer.
Installation
Prerequisites: GitHub authentication required. See Authentication Setup.
Recommended: Octocode CLI
npx octocode-cli
Interactive setup wizard with GitHub OAuth, MCP server installation, and skills marketplace.
Alternative Methods
Manual MCP Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}
Research Skill (Direct Install)
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
| Skill | What it does |
|---|---|
| Research | Deep code exploration via LSP, local tools, GitHub API, packages, PRs |
| Local Search | Fast local codebase exploration with LSP semantic navigation |
| Plan | Evidence-based planning: Understand, Research, Plan, Implement |
| PR Reviewer | PR review across 7 domains with evidence-backed findings |
| Roast | Brutally honest code critique with file:line citations |
| Prompt Optimizer | Transform weak prompts into enforceable agent protocols |
| Documentation Writer | Generate comprehensive repo documentation in 6 phases |
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:
- Authentication Setup
- Configuration Reference
- Local Tools + LSP Reference
- CLI Skills Guide
- Skills Index
- Troubleshooting
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.
Recommend MCP Servers 💡
biothings-mcp
MCP (Model Context Protocol) server for biothings
@roychri/mcp-server-asana
This Model Context Protocol server implementation of Asana allows you to talk to Asana API from MCP Client such as Anthropic's Claude Desktop Application, and many more.
flyworks-mcp
A Model Context Protocol (MCP) server that provides a convenient interface for interacting with the Flyworks API, facilitating fast and free zeroshot lipsync video creation for digital avatars.
Homebrew
The official Model Context Protocol (MCP) server for Homebrew, providing context about installed packages and system environment.
@tailor-platform/tailor-mcp
The tailorctl command-line utility, with a focus on MCP (Model Context Protocol) server functionality.
things3-mcp
An MCP server that provides comprehensive integration with Things3 on macOS, enabling AI assistants to manage tasks, projects, and tags with intelligent error correction and automatic tag creation.