gigaxity-deep-research
Supports any OpenAI-compatible chat-completions model as the synthesis engine, including OpenAI's own models, for generating citation-backed answers.
Adds Reddit as a social-first source via the gptr-mcp companion, allowing research queries to include Reddit content.
Integrates SearXNG as a primary metasearch source for multi-source search aggregation, enabling queries across multiple search engines.
Adds YouTube as a social-first source via the gptr-mcp companion, allowing research queries to include YouTube content.
Click on "Install 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., "@gigaxity-deep-researchResearch the latest advancements in renewable energy storage and provide a summary with citations."
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.
Gigaxity Deep Research — Open-source deep research MCP server for Claude Code, Codex, Cursor, Hermes, and any MCP-capable agent
Open-source deep research MCP server for Claude Code, Hermes, Cursor, and any MCP-compatible agent. Qwen3-30B-A3B-Thinking via OpenRouter plus multi-source web synthesis with citations.
Gigaxity Deep Research is a multi-source synthesis pipeline — six MCP tools (two primitives search/research plus four deep-research tools ask/discover/synthesize/reason) with a matching FastAPI REST surface, fronting parallel multi-source search, RRF fusion, citation binding, and contradiction detection. The synthesis stage runs against any OpenAI-compatible chat-completions model; the recommended default is Alibaba's Qwen3-30B-A3B-Thinking, a reasoning-tuned 30B-A3B MoE model, but DeepSeek-R1, Qwen-QwQ, Llama 3.x, and hosted-aggregator endpoints (OpenRouter and the like) all work — pick any model your endpoint serves. The search layer pulls from a "Triple Stack" of complementary MCPs (Ref, Exa, Jina) alongside SearXNG, Tavily, and LinkUp connectors. A bundled gptr-mcp companion — the MCP shim around GPT Researcher — adds Reddit, X, and YouTube as social-first sources.
If you want to run the synthesis model on your own hardware, the local-inference branch swaps OpenRouter for any OpenAI-compatible endpoint (vLLM, SGLang, or llama.cpp). The search-MCP layer is priced separately by each provider. See docs/guides/free-tier-strategy.md for what their free tiers cover and how to wire them up.
Python on FastAPI. MIT License. Runs as an MCP stdio server, FastAPI REST API, or both. Drop-in instructions for the full deep research stack live in CLAUDE.md / AGENTS.md (byte-identical) so any MCP-capable harness — Claude Code, Codex, Cursor, Hermes, etc. — or a standalone agent (system-prompt path) can mirror the configuration.
What it does
Gigaxity Deep Research wires a multi-source search layer (SearXNG, Tavily, LinkUp) to an RRF fusion stage and a synthesis engine with citation binding, then exposes the whole pipeline as six MCP tools — two primitives (search, research) plus four deep-research tools (ask, discover, synthesize, reason) — that Claude Code or any MCP-compatible agent can call. The synthesis stage runs against any OpenAI-compatible chat-completions model; the recommended default is Qwen3-30B-A3B-Thinking, a reasoning-tuned MoE model from Alibaba.
So when an agent hits a question outside its training cutoff, it doesn't hallucinate or shell out to a generic search tool. It calls discover to widen the source set, reads the top hits, and calls synthesize to fold the evidence into a citation-backed answer. Round-trip is typically 5–15 seconds against a hosted reasoning model.
Features
Tools (MCP and REST)
The MCP server exposes two primitives plus four deep-research tools — six tools total. The primitives give you raw search and the simple combined pipeline; the deep-research tools split discovery, synthesis, and reasoning so each step can be driven independently.
Primitives
Tool | Purpose |
| Raw multi-source aggregation across SearXNG, Tavily, and LinkUp with RRF fusion. No LLM call. |
| Combined pipeline: multi-source search plus LLM synthesis with citations, in one call. |
Deep-research tools
Tool | Purpose |
| Exploratory expansion — surfaces explicit, implicit, related, and contrasting angles, then flags knowledge gaps |
| Citation-aware synthesis over pre-gathered content; CRAG-style quality gate, contradiction surfacing, outline-guided generation |
| Deep synthesis with optional CoT depth control over pre-gathered content |
| Fast conversational answer (direct LLM call, no search hop) |
Pipeline
Multi-source search: parallel queries across SearXNG, Tavily, and LinkUp with graceful degradation if any source is unavailable.
RRF fusion: Reciprocal Rank Fusion combines and re-ranks results across providers.
Adaptive routing: query classification picks the right combination of connectors per query.
Query expansion: HyDE-style variant generation for broader coverage.
Query decomposition: multi-aspect breakdown for complex queries.
Quality gate: CRAG-style filtering keeps low-quality sources out of synthesis.
Contradiction detection: PaperQA2-style disagreement surfacing flags conflicting claims rather than averaging them out.
Citation binding: VeriCite-style claim-to-evidence mapping in the final answer.
Outline-guided synthesis: SciRAG-style structured generation for tutorial and academic presets.
Output verification: post-synthesis hard-gate on empty, truncated, reasoning-only, or uncited synthesis output — failed outputs are flagged with a verdict header and not cached, rather than being relayed as clean successes. Soft conditions (partial citation coverage, surfaced contradictions) append an advisory note.
Focus modes:
general,academic,documentation,comparison,debugging,tutorial,news.
Compatibility
Reasoning models: works with Qwen3-Thinking, DeepSeek-R1, Qwen-QwQ, and any other OpenAI-compatible chat-completions model.
Multi-tenant: accepts a per-request
X-OpenRouter-Api-Keyheader so multiple users can share one server instance and bill their own OpenRouter accounts.MCP and REST: the same orchestration logic powers both surfaces.
What the full install includes
The Quick Starts below cover the orchestrator MCP — one of seven in the full stack. The complete deep research workflow (automatic per-query routing across the whole stack) comprises four parts:
Seven MCPs. This repo's orchestrator (
gigaxity-deep-research) plus the Triple Stack (Ref+exa+jina— search/docs/code trio) plus three more (exa-answer,brightdata_fallback,gptr-mcp).Companion projects and dependencies. SearXNG (primary search source, bundled at
companions/searxng/) and GPT Researcher (transitive dependency ofgptr-mcp); plus the minimal MCP wrappers bundled atcompanions/exa-answer/andcompanions/brightdata-fallback/.The pasteable instruction block in
CLAUDE.md— drop into the globalCLAUDE.md/AGENTS.mdyour harness loads (e.g.~/.claude/CLAUDE.mdfor Claude Code), or paste into a standalone agent's system prompt. The agent then fires the research workflow on external-knowledge queries and routes each query class to the right MCP.The bundled
research-workflowskill — the deep reference for the routing classifier (token costs per tool, presets, fallback chains).
Walk the Setup roadmap below for a stage-by-stage path through all four.
Quick start: MCP install (Claude Code walkthrough)
The example below registers the server with Claude Code via ~/.claude.json. The same MCP stdio config block works for any MCP-capable harness (Codex, Cursor, Hermes, Continue.dev, etc.) — substitute that harness's config file path. For standalone agents that don't have an MCP harness, run the REST API instead (see the next quick start).
# Clone and install
git clone https://github.com/yoloshii/gigaxity-deep-research.git
cd gigaxity-deep-research
python -m venv .venv
source .venv/bin/activate
pip install -e .
# Configure
cp .env.example .env
# Edit .env: set RESEARCH_LLM_API_KEY (https://openrouter.ai/keys)
# and RESEARCH_SEARXNG_HOST (or leave default)Add to ~/.claude.json under mcpServers:
"gigaxity-deep-research": {
"type": "stdio",
"command": "/path/to/gigaxity-deep-research/.venv/bin/python",
"args": ["/path/to/gigaxity-deep-research/run_mcp.py"],
"env": {
"RESEARCH_LLM_API_BASE": "https://openrouter.ai/api/v1",
"RESEARCH_LLM_API_KEY": "YOUR_OPENROUTER_API_KEY",
"RESEARCH_LLM_MODEL": "qwen/qwen3-30b-a3b-thinking-2507"
}
}Restart Claude Code. The six tools (search, research, ask, discover, synthesize, reason) become callable as mcp__gigaxity-deep-research__<tool>.
The MCP alone gives you raw access to the six tools. Most of the deep research value — automatic per-query tool routing across the full seven-MCP stack, the social-first layer via gptr-mcp, the routing skill, and the global agent-instruction block — comes from the rest of the staircase. Walk it in Setup roadmap below.
Quick start: REST API for distributed compute
When the model lives on a different machine from the orchestrator (e.g. you self-host the model on a GPU box and want the rest of the pipeline on a CPU-only edge node), run it as a REST API.
docker compose up -d
curl http://localhost:8000/api/v1/healthREST endpoints:
Endpoint | Method | Purpose |
| GET | Health check, lists active connectors |
| POST | Exploratory expansion |
| POST | Citation-aware synthesis |
| POST | Chain-of-thought reasoning |
| POST | Quick answer |
| POST | Combined search + synthesis |
| POST | Multi-source search only (no LLM) |
| GET | List synthesis presets |
| GET | List focus modes |
Each endpoint accepts an optional X-OpenRouter-Api-Key header that overrides the env-configured key for that request. Multi-tenant deployments use it to bill each user separately.
Full REST reference: docs/reference/rest-api.md.
Setup roadmap
The Quick Starts above get the orchestrator MCP running against a model and a search source. The full deep research workflow — automatic tool routing across the seven-MCP stack, social-first research via gptr-mcp, the routing skill that classifies queries, plus the agent-instruction block that wires it all into Claude Code — needs the rest of the staircase below.
Each stage has a verify step, so you can stop at any point and know the layer below is solid. Stages 1–4 give you a working orchestrator. Stages 5–7 turn it into the full deep research stack.
# | Stage | What you do | Verify | Time | Doc |
1 | Core install | Clone repo, create venv, |
| 2 min | |
2 | Primary search source | Stand up SearXNG (bundled compose file under |
| 5 min | |
3 | LLM endpoint | Start a local model (vLLM / SGLang / llama.cpp) or point env vars at a hosted endpoint such as OpenRouter |
| 5–30 min | |
4 | Wire gigaxity into Claude Code |
|
| 5 min | |
5 | Companion MCPs (Triple Stack) | Register Ref, Exa, Exa Answer, Jina, Brightdata fallback, and gptr-mcp in |
| 10–15 min | |
6 | Routing skill + agent instructions | Symlink | A research query triggers the | 3 min | |
7 | Full-stack smoke | Run one query of each routing class and confirm the right MCP fires | See the smoke matrix below | 5 min | (below) |
Smoke matrix
Run each query in Claude Code (or the agent of your choice) after Stage 7 and confirm the routing matches:
Query | Should route to | What you should see |
"What's the latest stable version of Bun?" |
| 1–2 s factual answer with citations |
"What does the OpenAI Python SDK's |
| Library/API documentation chunks |
"Show me a code example using |
| Curated code-context snippets |
"Find recent papers on CRAG quality gates" |
| arXiv search hits |
"Compare FastAPI vs Litestar for production APIs in 2026" |
| Citation-backed comparative synthesis |
"What do people on Reddit say about Bun vs Node for production?" |
| Reddit / X / YouTube community sentiment |
If a query routes somewhere unexpected, the most common cause is the global instruction block from Stage 6 not being pasted into your global CLAUDE.md / AGENTS.md. Without it, the agent has to discover the routing logic on its own per session.
Common pitfalls
Stage 2 is required, not optional. SearXNG is the only required search connector — Tavily and LinkUp are optional additional connectors that run in parallel and contribute to RRF fusion. Skipping SearXNG leaves the synthesis layer with nothing to fuse unless you configure Tavily or LinkUp as a substitute.
Verify Stage 4 before adding companions. A failing
researchcall after Stage 5 is hard to debug because the failure could be any of seven MCPs misfiring; confirm the orchestrator alone works first.Stage 6 is what makes the agent route automatically. Without the skill plus the instruction block, the seven MCPs are visible but the agent treats them as raw tools, not a stack.
local-inferencebranch defaults tohttp://localhost:8000/v1;maindefaults to OpenRouter. Stage 3's verify command is the same either way, but the env var values differ — match them to your branch.
Modes
Mode | Branch | LLM backend | When to use |
OpenRouter (default) |
| Hosted Qwen3-30B-A3B-Thinking via OpenRouter | Single-machine setup, no GPU, fastest path to working |
Local inference (env-override today; code-level swap pending — see Roadmap) |
| Self-hosted Qwen3/DeepSeek/Llama via vLLM, SGLang, or any OpenAI-compatible server | On-prem requirement, GPU available, no usage-based cost. Works on either branch today by setting |
REST API (any backend) | both | Either, plus optional remote model server | Distributed compute — orchestrator and model on different machines |
The local-inference branch currently mirrors main and serves as a placeholder for the planned client-and-default swap. Once the swap lands, that branch will ship with RESEARCH_LLM_API_BASE defaulted to http://localhost:8000/v1 and the OpenRouter client replaced by a generic OpenAI-compatible client. Until then, point RESEARCH_LLM_API_BASE at your local endpoint on either branch — search, fusion, synthesis, and citations behave identically.
Architecture
┌────────────────────── Gigaxity Deep Research ──────────────────────┐
│ │
│ MCP stdio (run_mcp.py) ──┐ ┌── REST (FastAPI) │
│ ▼ ▼ │
│ ┌─────────────────────────┐ │
│ │ Discovery layer │ │
│ │ routing · expansion · │ │
│ │ decomposition · focus │ │
│ │ (invokes LLM) │ │
│ └────────────┬────────────┘ │
│ ▼ │
│ ┌──────── Search aggregator (parallel, fail-graceful) ─────────┐ │
│ │ SearXNG · Tavily · LinkUp │ │
│ │ ↓ rank-merged across connectors ↓ │ │
│ │ RRF fusion │ │
│ └─────────────────────────┬────────────────────────────────────┘ │
│ ▼ │
│ ┌─────────────────────────┐ │
│ │ Synthesis layer │ │
│ │ CRAG quality gate · │ │
│ │ contradiction detector ·│ │
│ │ outline guide · RCS │ │
│ │ (invokes LLM) │ │
│ └────────────┬────────────┘ │
│ ▼ │
│ Citation-bound markdown answer │
│ (+ contradictions, outline when preset enables) │
│ │
│ Shared dependency: OpenAI-compatible LLM │
│ (OpenRouter or local; Qwen3 30B et al.) │
└────────────────────────────────────────────────────────────────────┘Different tools enter the pipeline at different stages: research() runs the whole flow; discover() stops after the search aggregator (returns ranked sources + gaps); synthesize() and reason() skip Discovery and Search and operate on pre-gathered sources; ask() calls the LLM directly with no search hop; search() returns RRF-fused results without touching the LLM.
The bigger stack
Gigaxity Deep Research is the synthesis MCP in a seven-MCP deep research stack — agent-framework-agnostic, designed to drop into any MCP-capable harness (Claude Code, Codex, Cursor, Hermes, etc.) or a standalone agent that takes a system prompt. The other six MCPs handle search, URL reading, and social discovery:
MCP | Role |
Ref | Library and API documentation lookup |
Exa | Code-context search, advanced web search, crawling |
Exa Answer | Speed-critical factual lookups (1–2 s) |
Jina | Free-tier web/arxiv/ssrn search, parallel reads, screenshots |
gigaxity-deep-research (this repo) | Multi-source search + synthesis with Qwen3-30B-A3B-Thinking |
Brightdata fallback | Last-resort scraper for blocked URLs (CAPTCHA, paywall, Cloudflare) |
gptr-mcp | Social-first research — community knowledge from Reddit, X/Twitter, YouTube |
The bundled research-workflow skill plus the instruction block in CLAUDE.md wire all seven together with a query classifier (quick factual, direct, exploratory, synthesis, social-first), so the agent picks the right tools per query class on its own. Drop the instruction block into your own global CLAUDE.md or AGENTS.md to mirror the setup. All seven sanitized MCP server configs live in docs/reference/mcp-configs.md for one-stop copy-paste.
Documentation
Introduction: what this is, why it exists, where it fits
Quickstart: five-minute MCP install
Concepts: architecture: how the pipeline works
Concepts: presets:
fast,tutorial,academic,comprehensive,contracrowConcepts: fallback chains: how Brightdata, Jina, and the rest chain on URL/search/synthesis failures
Guide: MCP setup (Claude Code walkthrough — same MCP block adapts to any MCP-capable harness)
Guide: Bundled companions setup (SearXNG, Exa Answer, Brightdata)
Guide: Free-tier strategy: configuring the search MCPs against each provider's free tier
Reference: MCP tools: input/output reference for the six stdio MCP tools this server exposes
Reference: MCP configs: sanitized JSON blocks for all seven MCPs in the stack, in one place
Reference: Configuration:
RESEARCH_*env vars for this server
Research foundations
The pipeline implements techniques from the recent literature:
Feature | Research basis |
Quality gate | CRAG (arXiv:2401.15884) |
Contradiction detection | PaperQA2 (arXiv:2409.13740) |
Query expansion | HyDE (arXiv:2212.10496) |
Query decomposition | Multi-hop retrieval (arXiv:2507.00355) |
Outline-guided synthesis | SciRAG (arXiv:2511.14362) |
Roadmap
Status | Feature | Description |
:white_check_mark: | OpenRouter mode | Default, shipped on |
:white_check_mark: | MCP + REST surfaces | Both stable, share orchestration logic |
:white_check_mark: | search · research · ask · discover · synthesize · reason | All six tools wired and tested |
:white_check_mark: | Multi-tenant via per-request key |
|
:white_check_mark: | Local inference branch | Bring-your-own Qwen3/DeepSeek/Llama with full parity to OpenRouter mode. Live on the |
:white_check_mark: | Self-hosted model guide | vLLM, SGLang, and llama.cpp walkthroughs plus Q4_K_M GGUF quant recommendation (browse community GGUF builds on HuggingFace), threshold table, and quant-format-per-server matrix in setup-local-inference.md |
:memo: | Streaming responses | SSE for |
:memo: | Pluggable rerankers | Optional Jina or Cohere rerank stage between fusion and synthesis |
:white_check_mark: Shipped :construction: Planned :memo: Exploring
Requirements
Python 3.11+
An OpenRouter API key (https://openrouter.ai/keys) for default mode
A SearXNG instance, self-hosted (https://docs.searxng.org/) or third-party, as the primary search source
Optional: Tavily API key and/or LinkUp API key — each runs in parallel with SearXNG and contributes to RRF fusion when configured
Optional: Docker + Docker Compose for REST mode
License
MIT. Copyright (c) 2026 Yoloshii.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoloshii/gigaxity-deep-research'
If you have feedback or need assistance with the MCP directory API, please join our Discord server