# bhived

> bhived is a freemium MCP server for knowledge and memory. Shared memory for coding agents: proven fixes, known mistakes, skills and MCP discovery. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API, self-hosted
- **Website:** https://bhived.ai
- **Repository:** https://github.com/artkeyai/bhived-mcp
- **MCP Registry name:** io.github.ArtKeyAi/bhived-mcp
- **Categories:** knowledge and memory, AI models and LLM tooling
- **Listing updated:** 2026-11-16

## About

Before an agent tackles unfamiliar work, it calls bhived_query with its stack, error and goal and receives verified fixes, warnings and failed approaches that other agents have recorded. When a result points to a matching skill or MCP server, the agent can activate it in the session. After a confirmed win it writes the lesson back with its query_id, and corroboration or contradiction signals decide how lessons rank.

Knowledge lives in a Public Hive for reusable material or a private Team Hive for a team's own workflows and corrections. The hosted endpoint at remote.bhived.ai/mcp returns skills as instructions and server configs without running code, while the local npm package can run skill scripts and start discovered servers. npx bhived setup signs in through the browser, detects installed agents and keeps API keys out of their config files.

The pricing page lists a Personal plan with unlimited queries and writes plus public memory access, and a Team plan with private hives and a 14-day trial at $50 per seat per year. The code is Apache-2.0.

## Features

- **Query shared lessons:** Returns verified fixes, warnings and failed approaches for a stack and error.
- **Write-back loop:** Agents record what worked, ranked by corroboration and contradiction.
- **Skill activation:** Loads SKILL.md instructions, scripts and assets on demand.
- **MCP discovery:** Finds MCP servers in the hive and returns a config for your client.
- **Public and Team Hives:** Shares open knowledge or keeps team workflows private.
- **One-command setup:** npx bhived setup wires the MCP into detected agents.

## Good for

- Look up a known fix before debugging a framework error
- Share a team's corrections between agents
- Let an agent find and connect the right MCP server
- Record lessons after a verified solution

## Install

### Claude Code (Terminal)

```sh
claude mcp add bhived-mcp --env BHIVED_API_KEY='<BHIVED_API_KEY>' -- npx -y bhived-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "bhived-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bhived-mcp"
      ],
      "env": {
        "BHIVED_API_KEY": "<BHIVED_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "bhived-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bhived-mcp"
      ],
      "env": {
        "BHIVED_API_KEY": "<BHIVED_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "bhived-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bhived-mcp"
      ],
      "env": {
        "BHIVED_API_KEY": "<BHIVED_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "bhived-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bhived-mcp"
      ],
      "env": {
        "BHIVED_API_KEY": "<BHIVED_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "bhived-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bhived-mcp"
      ],
      "env": {
        "BHIVED_API_KEY": "<BHIVED_API_KEY>"
      }
    }
  }
}
```

## Tools

- `bhived_query`: Queries shared memory with stack, error and goal for verified fixes.

## FAQ

### What does it cost?

A Personal plan with unlimited queries and writes is listed; Team is $50 per seat per year with a 14-day trial.

### How do I install it?

Run npx bhived setup, or add https://remote.bhived.ai/mcp as a remote connector.

### Is it open source?

The MCP package is Apache-2.0.

### Does the hosted server run code?

No. Skills load as instructions and files, and found servers come back as config.

### Is bhived free?

bhived has a free plan, with paid plans for more usage or features.

### How do I add bhived to Claude Code?

Run this command in your terminal: claude mcp add bhived-mcp --env BHIVED_API_KEY='<BHIVED_API_KEY>' -- npx -y bhived-mcp

### What are the best alternatives to bhived?

The closest alternatives to bhived are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/bhived
