research-orchestrator
Provides research capabilities over GitHub, enabling repository search, candidate scoring, and exact source evidence extraction to ground implementation plans.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@research-orchestratorResearch Stripe subscriptions in Next.js and generate an implementation plan."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Research Orchestrator
Evidence-grounded implementation research. Give it a high-level feature
goal — it searches GitHub, scores candidate repositories, reads exact source
evidence, and writes planning artifacts (research.md, plan.md,
evidence.json, implementation-checklist.md) you can build from. Runs as a
CLI and as an MCP server, with Octocode as the evidence engine and optional
DeepWiki enrichment.
"Find examples of a Next.js + Convex app using email magic links, extract the implementation pattern, and produce a grounded plan."
becomes a repeatable workflow that:
Normalizes the user's goal into a structured feature spec.
Generates high-precision and high-recall GitHub/Octocode probes.
Collects candidate repositories.
Scores candidates based on implementation evidence.
Reads exact source evidence.
Optionally enriches with DeepWiki when available and fresh.
Falls back to Octocode/local repo understanding when DeepWiki is unavailable or stale.
Produces reusable planning artifacts with evidence anchors.
Install
npm install -g research-orchestrator # or: npx research-orchestratorRequirements
Node 20+ (enforced via
engines; the Octocode server also needs 20+)npx available for live
--mode octocode(bundled with npm — it spawns@octocodeai/mcpas a subprocess; first call downloads the package)Network access to GitHub for live modes; no config, no network for
--mode mockNo native modules, no postinstall scripts — runtime deps are just
@modelcontextprotocol/sdkandzod
Per-mode configuration
Mode | Needs |
| Nothing — offline, deterministic |
| Bridge env vars (below) |
|
|
For --mode octocode, copy .env.example → .env and set the bridge config:
Local clone: put
.envat the package root (next topackage.json) — the CLI self-loads it from its install location regardless of your cwd.Global install: either export the variables directly (they always win):
export RESEARCH_OCTOCODE_BRIDGE="$(npm root -g)/research-orchestrator/dist/bridges/octocode-mcp.js" export RESEARCH_OCTOCODE_COMMAND=npx export RESEARCH_OCTOCODE_ARGS='["-y","@octocodeai/mcp@latest"]'…or place the
.envat the installed package root ($(npm root -g)/research-orchestrator/.env).SSE/HTTP transport (Octocode server already running elsewhere):
RESEARCH_OCTOCODE_TRANSPORT=sse+RESEARCH_OCTOCODE_URL+RESEARCH_OCTOCODE_API_KEYinstead of the stdio vars.
Full variable reference: .env.example and
docs/RUNBOOK.md §7.
Related MCP server: Stargraph
Quickstart
# 1. Offline smoke run — no config, deterministic
research-orchestrator find \
--goal "Next.js + Convex app with email magic links via Resend" \
--out ./my-research --mode mock
# 2. Read the artifacts
ls ./my-research # research.md plan.md evidence.json implementation-checklist.md
# 3. Live run with real GitHub evidence (one-time setup: docs/RUNBOOK.md §7)
research-orchestrator find --goal "..." --out ./my-research --mode octocodeThe CLI self-loads a .env at the package root (see .env.example) for the
Octocode bridge; explicit environment variables always win. Exit codes:
0 plan ready · 2 inconclusive (warnings explain why) · 1 error.
Full details —
docs/RUNBOOK.mdcovers the verified mock-mode quickstart, live Octocode setup, MCP server registration, tests, output artifacts, and troubleshooting.
Suggested reading order
docs/RUNBOOK.mdPROMPT_FOR_CODING_AGENT.mddocs/00_project_brief.mddocs/01_architecture.mddocs/02_mvp_roadmap.mddocs/03_research_workflow.mddocs/08_mcp_tool_spec.mddocs/12_build_tasks.md
Directory map
.
├── src/ # TypeScript source (core engine, adapters, MCP server, schemas)
│ ├── core/ # goal normalization, probe generation, pipeline, scoring
│ ├── adapters/ # evidence providers (Octocode bridge, mock, GitHub)
│ ├── mcp/ # MCP server exposing the research.* tools
│ ├── cache/ # run cache
│ └── eval/ # deterministic eval harness
├── bridges/ # Octocode MCP bridge (stdio/SSE/HTTP transports)
├── tests/ # vitest suite (unit + golden snapshots) and fixtures
├── scripts/ # bridge smoke test and wiring verification
├── docs/ # RUNBOOK + design docs (00–12)
├── schemas/ # JSON schemas for feature specs and artifacts
├── templates/ # artifact templates
├── examples/ # sample feature spec, probes, and research run
├── prompts/ # subagent prompts used by the workflow
└── backlog/ # roadmap: milestones and issuesImplementation bias
Start with a TypeScript/Node project exposing:
a CLI for local/manual iteration
a small library core
an MCP server after the first vertical slice works
file-based cache initially, SQLite later if needed
Do not rebuild Octocode primitives first. Treat Octocode as the evidence engine and build the orchestration/scoring/artifact layer on top.
Acknowledgments
Research Orchestrator stands on the shoulders of:
Octocode — the evidence engine this tool is built around, and the project that shaped its architecture. Studying Octocode's thin-interface/engine-split design and performance characteristics drove the core decision: layer orchestration, scoring, and artifact generation on top of a long-lived evidence provider — never re-implement code search. Design notes in
docs/SOURCE_NOTES.md.DeepWiki — optional repo-explanation enrichment. Useful when a repo wiki is indexed and fresh; never treated as proof — critical claims are always verified against exact source.
Model Context Protocol — the MCP server (
research.scoreRepos,research.explainRepoPattern,research.writePlanArtifact) is built on the official MCP TypeScript SDK.GitHub code search — its practical limits (result caps, rate limits, snippets-aren't-proof) directly informed probe sharding, result caching, and the proof-grade evidence-anchor model.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Finds real, maintained open-source repos that fit your project. MCP grounding for coding agents.
Evidence-backed open-source project search, recommendations, alternatives, and comparisons.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Related MCP Servers
- AlicenseCqualityCmaintenanceQuality-aware code intelligence that turns GitHub search into ranked, explainable, import-ready recommendations, enabling developers to find the best code implementations with archetype clustering and provenance-based import.302MIT
- AlicenseNot gradedqualityCmaintenanceEnables evidence-first analytics over GitHub starred repositories, including search, similarity comparison, explanation, and clustering via MCP tools.MIT
- FlicenseAqualityAmaintenanceClones and inspects public GitHub repositories to extract evidence like manifests, dependencies, and version hints, and can run allow-listed repos in isolated Docker containers for reproducible verification.4-
- FlicenseNot gradedqualityCmaintenanceEnables natural-language analysis of GitHub repositories by exposing repository metadata, source code retrieval, search, and file reading as MCP tools, with answers grounded in the actual repository content.-