octocode-mcp
AI code research platform. Search, analyze, and extract insights from any GitHub repository.
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"octocode-mcp": {
"args": [
"octocode-mcp@7.0.9"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
Octocode: Research Driven Development for AI
# 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
Add to your MCP configuration file:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}
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.