Behive MCP Server
Open-source deep research engine that builds structured knowledge graphs. MCP-native. avg 0.82+ quality.
Behive scores 51 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 3 tools. Filed under Knowledge. GitHub shows 149 stars. Package registries report about 50 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
51 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Where the 51 comes from
0 + 20 + 7 + 10 + 4 + 10 = 51. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "qa10devteam-behive": { "command": "uvx", "args": [ "behive" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade C
All capabilitiesfallback_claimstoolclaims from the regex fallback. They are raw material, not a product, and never make a mission done.
report_availabletooltrue only when the status is done and a report exists with at least one useful claim.
useful_claimstoolclaims that count toward done.
About
The Problem
You ask an AI to research something. It hallucinates confidently or gives you a 2000-word essay that says nothing specific. No sources. No confidence scores. No way to verify.
BeHive fixes this. It goes out, searches real sources, extracts verifiable claims with confidence scores, and builds a knowledge graph — all through your existing AI (Claude, ChatGPT, Gemini).
⚡ Use with Claude Desktop (10 seconds)
No install needed. Add this to your Claude Desktop config and you're done:
File: ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"behive": {
"url": "https://api.behive.site/mcp",
"transport": "streamable-http"
}
}
}
Restart Claude Desktop. Ask: "Research the EU AI Act enforcement timeline"
That's it. Claude calls BeHive automatically.
You ask Claude → Claude calls BeHive MCP tool → BeHive scouts 70+ APIs
→ fetches 200+ URLs via stealth drones → extracts claims with scores
→ deduplicates → returns structured report to Claude
Cost: Free. The hosted MCP server is provided by the BeHive team.
Privacy: Queries are processed and discarded. No data retention.
⚡ Use with ChatGPT (Custom GPT)
- Go to chat.openai.com/gpts/editor
- Create a new GPT
- Under Actions → click Import from URL → paste:
https://api.behive.site/openapi.json - Name it "Deep Researcher" and save
Now ask your GPT: "Research quantum computing breakthroughs 2026"
⚡ Use with Cursor / Windsurf / Claude Code
Add to your MCP config (.cursor/mcp.json, ~/.claude/settings.json, etc.):
{
"mcpServers": {
"behive": {
"url": "https://api.behive.site/mcp",
"transport": "streamable-http"
}
}
}
⚡ Use with Hermes Agent / OpenClaw
# Hermes — already has a built-in skill
hermes skill install behive-research
# OpenClaw — copy from integrations/
cp integrations/openclaw/SKILL.md ~/.openclaw/skills/behive.md
🛠 Self-Host (full control)
Want to run BeHive on your own machine? Three options:
Option A: Zero-setup (DuckDB, no PostgreSQL needed)
pip install behive
export ANTHROPIC_API_KEY=*** # or OPENAI_API_KEY
behive research "NVIDIA GPU market 2026"
Data is stored locally in ~/.behive/research.duckdb. No database setup needed.
Option B: Docker Compose (recommended for teams)
git clone https://github.com/qa10devteam/behive && cd behive
echo "ANTHROPIC_API_KEY=***" > .env
docker compose up -d
# API → http://localhost:8091
# MCP → http://localhost:8090/mcp
Option C: Full production (PostgreSQL + GPU)
pip install "behive[all]"
export BEHIVE_DB_URL=postgresql://user:pass@localhost:5432/behive
export ANTHROPIC_API_KEY=***
behive serve
🧠 Model Configuration
BeHive works with any LLM. You choose what runs each pipeline stage:
| Stage | What it does | Recommended model |
|---|---|---|
| scout | Query generation, source planning | Claude Haiku 4.5 / GPT-4.1-mini / local |
| harvest | Content triage, relevance filtering | Claude Haiku 4.5 / GPT-4.1-mini / local |
| process | Claim extraction, entity recognition | Claude Sonnet 4.6 / GPT-4.5 / Gemini 2.5 Flash |
| synth | Report synthesis, deduplication | Claude Opus 4.6 / GPT-4.5 / Gemini 2.5 Pro |
| falsifier | Cross-verification, bias detection | Claude Sonnet 5 / o4-mini |
Quick config
behive config --preset budget # Haiku everywhere (~$0.30/mission)
behive config --preset balanced # Haiku scout + Sonnet synth (~$1.50)
behive config --preset deep # Opus synth + Falsifier (~$4.00)
Model presets (2026)
| Preset | Model String |
|---|---|
claude-haiku | anthropic/claude-haiku-4-5-20251001 |
claude-sonnet | anthropic/claude-sonnet-4-6 |
claude-opus | anthropic/claude-opus-4-6-v1 |
claude-sonnet-5 | anthropic/claude-sonnet-5 |
gpt-4.1-mini | openai/gpt-4.1-mini |
gpt-4.5 | openai/gpt-4.5-preview |
o4-mini | openai/o4-mini |
gemini-flash | google/gemini-2.5-flash |
gemini-pro | google/gemini-2.5-pro |
llama-4 | ollama/llama4-scout |
local | openai/local-model (any OpenAI-compatible endpoint) |
Environment variables
export BEHIVE_MODEL=anthropic/claude-sonnet-4-6 # one model for everything
export BEHIVE_MODEL_SCOUT=ollama/llama4-scout # per-stage override
export BEHIVE_MODEL_SYNTH=anthropic/claude-opus-4-6-v1 # per-stage override
Priority: BEHIVE_MODEL_{STAGE} > BEHIVE_MODEL > config.yaml > defaults
Or pass any litellm-compatible model string directly.
The CLI reads ~/.behive_runtime.env for the current account. Set
BEHIVE_ENV_FILE to use a different explicit file. Existing environment values
win over that file. BeHive does not import credentials from Hermes auth files.
For a source checkout, graph support has its own dependency extra:
pip install -e '.[graph]'. Harvesting and processing extras are separate.
These local metadata changes have not been published to PyPI.
API providers requiring keys are skipped when configuration is missing; these
notices are diagnostics, not research evidence. LEX also requires its contracted
LEX_API_BASE endpoint: BeHive does not query the SIP login portal as an API.
BYOK Discord notifications are off by default. To enable them, explicitly set
BEHIVE_BYOK_NOTIFICATIONS=1 and supply the bot credentials and destination in
the environment; no Hermes credential file is read.
Verification and scoring
No benchmark table is published here without a reproducible run receipt. Claim counts, runtime and scores vary with the topic, sources, configured model, provider availability and pipeline options. Quality scores are internal ranking signals, not calibrated probabilities or a guarantee of factual correctness.
The repository contains regression tests for provider configuration, source admission, entity handling and deterministic synthesis. PostgreSQL persistence, public-provider checks and browser tests must be reported separately from controlled-provider unit tests. Never run database-writing tests against a shared research database: use a disposable cluster and retain the raw results.
Drone Arsenal
BeHive's API registry contains 83 provider entries. Registered does not mean configured or available: some providers require credentials or contracts, and public endpoints can fail or return no relevant results.
| Category | Examples | Method |
|---|---|---|
| Web search | DuckDuckGo, Brave, SearXNG | Multi-backend fallthrough |
| Academic | arXiv, Semantic Scholar, PubMed | Direct API |
| News | Google News RSS, NewsAPI, GDELT | Real-time feeds |
| Government | EU Open Data, USPTO, SEC EDGAR | Registry APIs |
| Code | GitHub, GitLab, npm, PyPI | Package ecosystems |
| Financial | Yahoo Finance, FRED, ECB | Market data |
| Social | Reddit, HN (via Algolia), X/Twitter | Community signals |
Stealth layer: 8-layer drone architecture bypasses Cloudflare, DataDome, Akamai, PerimeterX. Rotating fingerprints, browser TLS profiles, residential proxy support.
Architecture
┌─────────────────────────────────────────────────────────────┐
│ BeHive Pipeline │
└─────────────────────────────────────────────────────────────┘
│
┌───────────┬─────────────┼─────────────┬───────────┐
▼ ▼ ▼ ▼ ▼
┌────────┐ ┌────────┐ ┌──────────┐ ┌────────┐ ┌────────┐
│ SCOUT │ │HARVEST │ │ PROCESS │ │ SYNTH │ │ GRAPH │
│ │ │ │ │ │ │ │ │ │
│ Queen │ │Parallel│ │ Dual- │ │ Report │ │ Neo4j │
│ plans │ │ fetch │ │ model │ │ synth │ │ build │
│ 200+ │ │ drones │ │ extract │ │ dedupe │ │ entity │
│ tasks │ │ 70 APIs│ │ + score │ │ FUIR │ │ link │
└────────┘ └────────┘ └──────────┘ └────────┘ └────────┘
Key design: The Queen plans all research tasks BEFORE any scout leaves. This means parallel execution, no redundant searches, and smart gap detection.
API Reference
REST API (port 8091)
# Start a research mission
curl -X POST http://localhost:8091/research \
-H "Content-Type: application/json" \
-d '{"topic": "quantum computing 2026", "depth": 3}'
# Check status (status, phase, reason, report_available, useful_claims, fallback_claims)
curl http://localhost:8091/research/{mission_id}/status
# Get report (HTTP 409 with the reason if the mission is empty or failed)
curl http://localhost:8091/research/{mission_id}/report
# Search knowledge base
curl "http://localhost:8091/search?q=quantum+supremacy&limit=20"
Reasoning effort is optional. POST /research and the MCP tool research_topic accept
reasoning_effort (the whole mission) and synthesis_effort (the report synthesis only),
each low, medium or high; any other value is rejected with HTTP 422. Without them
nothing changes: the model bridge keeps its own default, low. synthesis_effort falls back
to reasoning_effort when only that one is set. Both are stored in hive_missions.config
and sent to the bridge as the X-BeHive-Effort header (only those three values), which the
xAI bridge applies if the value is in its BEHIVE_XAI_BRIDGE_ALLOWED_EFFORT list.
Example: {"topic": "quantum computing 2026", "reasoning_effort": "medium", "synthesis_effort": "high"}.
MCP Tools
| Tool | Description |
|---|---|
research_topic | Start deep research on any topic |
mission_status | Check progress; prints status, phase, reason and claim counts |
get_report | Retrieve the final synthesized report; says why when there is none |
search_knowledge | Query across all previous research |
list_missions | List recent research missions |
Mission status
A mission ends in one of three statuses:
done: the mission has a report and at least one useful claim.empty: the pipeline finished but produced no qualifying claims, so there is no report.error: the pipeline failed or timed out and produced no report.
A mission that is cancelled reports cancelled with the reason "Mission was cancelled."
The terminal statuses are therefore done, empty, error and cancelled.
While a mission runs its status is one of queued, running, planning, scout,
harvest, process and synth: it starts as queued, becomes running, and while the
pipeline runs status carries the current phase name. Clients should treat any status
other than the four terminal ones as still running. phase moves through
queued, scout, harvest, process and synth. When a mission ends as empty or
error, phase holds the stage or cause where it ended (one of the keys below) and
reason explains it.
GET /research/{mission_id}/status returns these fields:
status: terminaldone,empty,errororcancelled; while runningqueued,running,planning,scout,harvest,processorsynth.phase: the current phase, or the end-state key foremptyanderror.reason: why there is no usable report;nullfor running missions and for a realdone.report_available:trueonly when the status isdoneand a report exists with at least one useful claim.useful_claims: claims that count towarddone.fallback_claims: claims from the regex fallback. They are raw material, not a product, and never make a missiondone.
Example for an empty mission:
{"status": "empty", "phase": "empty_claims", "report_available": false,
"reason": "Sources were collected but no qualifying claims were produced."}
GET /research/{mission_id}/report returns the report with HTTP 200 only for a done
mission. For empty, error and cancelled it returns HTTP 409. detail and reason
carry the reason, and the body also holds status, phase, report_available: false,
useful_claims and fallback_claims:
{"detail": "Qualifying claims were found but no report was produced.",
"status": "error", "phase": "synthesis_failed", "report_available": false}
For a mission that is still running the endpoint does not return a report either.
The MCP tool mission_status prints the same facts as text:
Mission: <topic>
Status: error
Phase: synthesis_failed
Reason: Qualifying claims were found but no report was produced.
Claims: 497 useful, 0 regex fallback
Report: not available
The Reason: line appears only when there is one. The MCP tool get_report refuses the same
way instead of returning an empty report:
No report for mission '<mission_id>'.
Status: empty
Phase: empty_claims
Reason: Sources were collected but no qualifying claims were produced.
Reasons, by phase key:
empty_scout No sources or qualifying claims were produced.
empty_claims Sources were collected but no qualifying claims were produced.
process_timeout The processing phase exceeded its time limit; no report was produced.
process_error The processing phase failed; no report was produced.
synthesis_failed Qualifying claims were found but no report was produced.
pipeline_failed Pipeline execution failed without a qualifying product.
claims_fallback_failed Claims recovery failed without a qualifying product.
pipeline_exception Pipeline execution raised an exception.
timeout Pipeline execution timed out.
cancelled Mission was cancelled.
Missions recorded as done before the status rules (2026-11-13) that have no report, or no
claims beyond the regex fallback, report this reason: "Marked done without a report or without
claims beyond regex fallback (recorded before the 2026-11-13 status rules); it has no usable result."
Python SDK
from behive import BeHiveClient
client = BeHiveClient() # auto-detects local server
# Start research
mission = client.research("EU AI Act penalties", depth=3)
# Wait and get results
report = mission.wait()
print(f"Found {len(report.claims)} claims, avg quality: {report.quality:.2f}")
Comparison
| Feature | BeHive | GPT-Researcher | Tavily | Perplexity |
|---|---|---|---|---|
| Structured claims | ✅ JSON with scores | ❌ Text only | ❌ Snippets | ❌ Text |
| Knowledge graph | ✅ Neo4j entities | ❌ | ❌ | ❌ |
| Self-hosted | ✅ MIT | ✅ | ❌ SaaS only | ❌ SaaS only |
| MCP native | ✅ | ❌ | ❌ | ❌ |
| Quality scoring | ✅ 5-dimension | ❌ | ❌ | ❌ |
| Multi-source | 70+ APIs | ~5 | 1 (Tavily) | Internal |
| Cost | Free + your LLM | Free + your LLM | $50-500/mo | $20/mo |
| Falsifier | ✅ Cross-verify | ❌ | ❌ | ❌ |
Integrations
| Platform | Method | Difficulty |
|---|---|---|
| Claude Desktop | MCP (add URL) | 10 seconds |
| ChatGPT | Custom GPT (import URL) | 30 seconds |
| Cursor / Windsurf | MCP config | 10 seconds |
| Claude Code | MCP config | 10 seconds |
| Hermes Agent | Built-in skill | 1 command |
| OpenClaw | Skill file | 1 file copy |
| n8n | Community node | Install in UI |
Contributing
See CONTRIBUTING.md. PRs welcome.
git clone https://github.com/qa10devteam/behive
cd behive
pip install -e ".[dev]"
pytest
License
MIT — use it however you want. Star ⭐ if it helps.
Frequently asked questions
What is Behive MCP Server?
Open-source deep research engine that builds structured knowledge graphs. MCP-native. avg 0.82+ quality.
How do I install Behive MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Behive MCP Server runs locally from the PyPI package behive with the command uvx behive.
Is Behive MCP Server free and open source?
Yes. Behive MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Behive MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Behive MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Behive MCP Server provide?
Behive MCP Server provides 3 tools: fallback_claims, report_available, and useful_claims. See the full tool list for descriptions and parameters.
How is Behive MCP Server's trust score calculated?
Behive MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.