# hivelore

hivelore is an MCP server for Claude Code that supplies team-specific repository rules and blocks changes that repeat documented mistakes. It joins coding work in a repository.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 4 repo stars
- Author: Doucs91
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Doucs91/hivelore
- Updated: 2026-11-13
- Security check: automated, 2026-11-17 (text) — warning: suggests running the agent with permission prompts turned off. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/hivelore

## What it does

hivelore gives a coding agent repository knowledge and checks proposed changes against team rules. Its `get_briefing` MCP call returns a short starting context plus more detailed notes selected for the task.

Run `hivelore init` to create the `.ai/` context layer in a repository. Decisions and lessons are Markdown files linked to code paths; hivelore detects when those links become stale. Checks through `hivelore enforce check`, Git hooks, and CI can block a commit that violates a recorded rule or lacks a required briefing.

Node.js 20 or later is required. Hivelore complements tests and linters rather than replacing them.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add hivelore -- npx -y @hivelore/mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add hivelore -- npx -y @hivelore/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hivelore": {
            "command": "npx",
            "args": [
                "-y",
                "@hivelore/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hivelore": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hivelore/mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add hivelore npx -y @hivelore/mcp
```

## When to use it
- give an agent repository rules relevant to its current task
- block a commit that repeats a recorded team mistake
- find notes whose code-path links have gone stale
- check whether the agent received its required briefing

## Example prompts
- Load the repository rules before editing this migration and check whether changes are allowed.
- Compare this diff with the team's recorded mistakes and stop the commit if it repeats one.
- Check whether notes linked to the changed files are out of date.

## Similar
- [repo-standardizer](https://affpapa.org/en/nevibecode/skills/repo-standardizer.md) — skill · 33 installs
- [get-started-stinger](https://affpapa.org/en/nevibecode/skills/get-started-stinger.md) — skill · ★ 96 repo stars
- [btca-local](https://affpapa.org/en/nevibecode/skills/btca-local.md) — skill · 1000 installs
- [box](https://affpapa.org/en/nevibecode/skills/prathamdby-box.md) — skill · 720 installs
- [auto-repo-setup](https://affpapa.org/en/nevibecode/skills/auto-repo-setup.md) — skill · 534 installs
- [atxp-git](https://affpapa.org/en/nevibecode/skills/atxp-git.md) — skill · 281 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
