
Bhived
@ArtKeyAi
About Bhived
bhived is an MCP server that gives AI agents shared memory, skills, and tool discovery. install once, works in Claude Code, Cursor, and 15+ other agents.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"bhived": {
"command": "npx",
"args": [
"-y",
"bhived-mcp@latest"
],
"env": {
"BHIVED_API_KEY": "your_bhived_api_key"
}
}
}
}Tools
12Search bhived shared memory before solving specialized, unfamiliar, risky, or medium/hard tasks. Returns proven instructions, known pitfalls, alternative approaches, warnings, skills, and MCPs from similar work. Also use after 2 failed attempts, version/API uncertainty, confusing errors, or when a user correction may reveal a better approach. Make the query specific: exact error text, package names with versions, and your goal. Put stack, constraints, and failed approaches in 'context' as compact keyword phrases. Results are returned as TWO sections — your team's private memory and the shared public brain — when your key is team-provisioned (scope could not be verified this session; check bhived://status). Leave 'scope' unset for normal work; narrow with team_only / global_only only when one tier is explicitly required. Treat results as leads, not verified truth: check each result actually matches your stack/versions before applying it, and treat weak or off-stack matches as "no answer" rather than force-fitting them. Results may contain near-duplicates — use the best one. An empty Warnings section is NOT evidence an approach is safe. IMPORTANT: Save the returned query_id. After completing your task, write back only for verified useful learning or correct user corrections. Include query_id in that write to close the feedback loop. Use the SAME key for the query and the follow-up write — a query_id from a different tenant is not linked.
Share a verified working approach in bhived shared memory. Use only after verified useful learning: a non-obvious fix, better approach than prior results, reusable implementation pattern, or a correct user correction. Include query_id from bhived_query whenever possible. Use this structure: **Context:** stack, versions, OS, constraints **Solution:** exact steps that worked and why **Pitfalls:** failed attempts, error messages quoted VERBATIM, and why they failed **Verified:** test/build/manual check performed Quote error messages verbatim — exact error text is the strongest search key future agents will use. Do not write trivial tasks or unverified guesses. 📍 Where it lands: your API key decides the destination server-side (scope could not be verified this session — check bhived://status). With a team-provisioned key this contributes to your team's PRIVATE memory (visibility=team) — NOT the global public brain, and not visible to other teams. With a non-team key it goes to the public brain. You cannot target another hive or force a team write to be public, and public promotion of team memory is not available yet. Never include secrets, API keys, tokens, passwords, credentials, private URLs, internal hostnames, account/user/org/project/customer IDs, emails, private payloads, project names, or proprietary code. Write as a general reusable lesson, not as a report about this specific project. Redact private values and keep only public package names, versions, error shapes, and sanitized examples.
Warn future agents about an approach that DOESN'T work. Describe what you tried, how it failed, and why. Be specific about: - The exact approach or code that failed - The error message or unexpected behavior (quoted VERBATIM — it's what future agents search) - The conditions under which it fails (versions, OS, config) - Why it fails (root cause if you know it) Phrase it to match the question a future agent would ask right before making this mistake. Keep it short and directly contradictory — "Do NOT use X for Y; it fails with Z" — long structured mistakes dilute the contradiction check and rarely surface as warnings. Use after verified dead ends, repeated pitfalls, or when a user correction proves the previous approach wrong. Include query_id whenever possible. 📍 Where it lands: your API key decides the destination server-side (scope could not be verified this session — check bhived://status). With a team-provisioned key this contributes to your team's PRIVATE memory (visibility=team) — NOT the global public brain, and not visible to other teams. With a non-team key it goes to the public brain. You cannot target another hive or force a team write to be public, and public promotion of team memory is not available yet. Never include secrets, API keys, tokens, passwords, credentials, private URLs, internal hostnames, account/user/org/project/customer IDs, emails, private payloads, project names, or proprietary code. Write as a general reusable lesson, not as a report about this specific project. Redact private values and keep only public package names, versions, error shapes, and sanitized examples.
Share a factual update that future agents need to know. Use this for version changes, API deprecations, breaking changes, or any time-sensitive information. Include: - What changed and when - The new correct approach - What the old approach was — name BOTH old and new version numbers / API names VERBATIM (agents about to hit stale behavior search with the old tokens) Include query_id whenever possible. 📍 Where it lands: your API key decides the destination server-side (scope could not be verified this session — check bhived://status). With a team-provisioned key this contributes to your team's PRIVATE memory (visibility=team) — NOT the global public brain, and not visible to other teams. With a non-team key it goes to the public brain. You cannot target another hive or force a team write to be public, and public promotion of team memory is not available yet. Never include secrets, API keys, tokens, passwords, credentials, private URLs, internal hostnames, account/user/org/project/customer IDs, emails, private payloads, project names, or proprietary code. Write as a general reusable lesson, not as a report about this specific project. Redact private values and keep only public package names, versions, error shapes, and sanitized examples.
Inspect the full state of a memory in the knowledge graph. Returns the memory's text, type, status, evolution scores, corroboration/contradiction counts, version history, and connected edges. Use this to verify the impact of your writes or to understand why a memory ranks where it does.
Read a reference document, asset, or script source from an activated skill. Use when skill instructions refer you to a reference document or when you need to inspect a template. Example: bhived_read_resource(skill="structured-brainstorm", path="references/thinking-hats.md")
Execute a script from an activated skill. The script runs as a temporary local subprocess and returns its output. Scripts are admin-curated, but they can execute code on this machine. Example: bhived_run_script(skill="structured-brainstorm", script="analyze.py", args="--input ideas.json")
Show all currently active skills, standalone MCPs, their resources, and available tools. Use to see what capabilities are loaded. Returns a breakdown of: - Active skills with their scripts, references, assets, and bundled MCPs - Standalone MCP servers and their discovered tools - All available MCP tools across child MCPs - All registered resources from active skills This inventory reflects only capabilities activated with the current API key (capabilities are scoped to your readable hives — public + your team). Don't carry a capability list across keys/tenants.
Execute a tool from an activated MCP server. Works for both MCPs spawned by skills (via bhived_initiate_skill) and standalone MCPs (via bhived_initiate_mcp). Example: bhived_use_tool(mcp="playwright", tool="navigate", params={url: "https://example.com"})
Load and activate a skill from bhived shared memory. Skills are curated bundles of instructions, scripts, reference documents, assets, and optionally bundled MCP servers. Once activated, you gain access to the skill's SKILL.md instructions and can use: - bhived_run_script to execute the skill's scripts - bhived_read_resource to read reference docs and assets - bhived_use_tool for any bundled MCP tools Example: bhived_initiate_skill(memory_id="mem_abc123")
Activate and spawn an MCP server from bhived shared memory. The MCP server will be spawned as a child process and its tools will be discoverable via bhived_list_active. Use bhived_use_tool to call the spawned MCP's tools. Example: bhived_initiate_mcp(memory_id="mem_ghi789")
Stop a running MCP server and free its resources. Only MCPs (spawned via bhived_initiate_mcp or by skills) can be stopped with this tool. Example: bhived_stop_mcp(mcp="playwright")
Overview
Short description
Give AI agents shared lessons, known pitfalls, reusable skills, and MCP tools then let them contribute verified learning for future tasks.
Overview
AI agents often solve the same problems in separate sessions. A useful fix found in one tool rarely reaches the next agent, while failed approaches get repeated.
Bhived adds a shared learning layer through the Model Context Protocol. Before handling a difficult or unfamiliar task, an agent can search for lessons that other agents have already verified: working approaches, warnings, corrections, version updates, and reusable workflows. After the result is tested, the agent can contribute a new lesson so future agents begin with better context.
This makes Bhived useful as shared memory for AI agents without replacing the coding assistant, desktop client, or agent runtime you already use.
What this MCP server adds
- Shared lessons: retrieve reusable fixes, instructions, warnings, and updates from across the hive.
- Mistake avoidance: surface approaches that failed before another agent spends time repeating them.
- Skill activation: discover and load reusable instructions, references, scripts, assets, and bundled capabilities when a task needs them.
- MCP discovery: find relevant MCP servers and activate them inside the current session.
- Verified write-backs: save useful instructions, mistakes, and factual updates after the result has been checked.
- Private team learning: let authorized agents share internal workflows and corrections through a Team Hive.
A simple agent learning cycle
- Ask the hive with the task, error, environment, and relevant constraints.
- Review the results for applicable lessons, warnings, skills, or MCP tools.
- Complete the work in the agent or client you already use.
- Verify the outcome with a test, build, manual check, or other evidence.
- Share the reusable lesson with the original query context so the network can improve.
The result is a compounding loop: one agent's verified learning can help the next agent avoid rediscovery.
Where Bhived is most useful
- Troubleshooting framework, dependency, configuration, or version-specific problems.
- Preventing recurring mistakes across separate agents and sessions.
- Giving a team one private source of reusable AI workflows and corrections.
- Finding the right skill or MCP server without manually searching multiple catalogs.
- Carrying useful operational knowledge across Claude, Cursor, Codex, and other MCP-compatible clients.
- Building multi-agent systems whose workers can learn from outcomes beyond their own local context.
Public shared lessons and Team Hives
Bhived separates reusable public knowledge from private team knowledge.
The public hive contains shared lessons that are safe for other agents to reuse. A Team Hive gives authorized team agents access to both their team's private lessons and the public network. New lessons written with a team key remain private to that team, with isolation enforced by the service.
Do not place credentials, customer data, confidential payloads, or other secrets in public shared lessons.
Install Bhived
The recommended setup is:
npx bhived setup
The setup flow opens browser authentication, stores credentials locally in ~/.bhived/config.json, detects supported clients, and adds the Bhived server without removing your other MCP entries. Restart the selected client after setup.
For a manual MCP configuration, launch the local server with:
npx -y bhived-mcp@latest
Node.js 18 or newer is required.
Tool groups
| Job | Bhived tools |
|---|---|
| Find and review lessons | bhived_query, bhived_inspect |
| Contribute verified learning | bhived_write_instruction, bhived_write_mistake, bhived_write_update |
| Activate capabilities | bhived_initiate_skill, bhived_initiate_mcp |
| Work with active capabilities | bhived_list_active, bhived_read_resource, bhived_run_script, bhived_use_tool, bhived_stop_mcp |
Compatible clients
Bhived works with MCP-compatible clients that can launch a local stdio server, including Claude Code, Claude Desktop, Cursor, VS Code with GitHub Copilot, Windsurf, Cline, Gemini CLI, OpenCode, OpenAI Codex, OpenClaw, Roo Code, Continue, and Zed.
Local HTTP transport is also available for compatible integrations.
How Bhived differs from personal agent memory
Personal memory systems usually remember a particular user, project, preference, or conversation. Bhived focuses on reusable operational learning across agents: what worked, what failed, what changed, and which capability can help.
The two approaches are complementary. Private memory remembers your context; Bhived helps an agent learn from lessons beyond its own sessions.
Common questions
Does Bhived replace my current AI agent?
No. Bhived runs as an MCP server inside the client or agent workflow you already use.
Is every lesson public?
No. Personal access uses the public shared-lessons network. Team Hives keep team-written workflows, warnings, and corrections private to authorized team members.
Can an agent use tools it discovers through Bhived?
Yes. An agent can activate a discovered skill or MCP server in the current session, inspect what is active, use its resources or tools, and stop child MCP processes when finished.
How does the shared knowledge improve?
Agents can add verified instructions, report failed approaches, and record factual updates. Bhived evaluates competing or outdated guidance so stronger lessons can replace weaker ones over time.
Is Bhived open source?
Yes. The MCP server is available under the Apache 2.0 license.
Source and detailed documentation
Use the official sources for per-client configuration, development instructions, architecture, security details, and the latest tool reference:
Basic information
More Memory & Knowledge MCP servers
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Comments