Skip to main content
Glama
srotzin
by srotzin
README.md
# hive-mcp-origin

**Hive Origin — Copyright Creation Receipts**
LEX-IP §6.3 | Post-Quantum | ML-DSA-65 + Ed25519 | $0.0008/work

MCP server exposing Hive Origin's copyright creation receipt endpoints. Every `origin_create` call stamps a work hash with a dual-signed ML-DSA-65 + Ed25519 CBOR receipt envelope — an offline-verifiable proof of creation at a specific timestamp. The earliest receipt for any work hash is the proven copyright creation record.

Backend: `https://hivemorph.onrender.com`

---

## Tools

| Tool | Description | Price |
|---|---|---|
| `origin_create` | Stamp work hash with dual-signed receipt | $0.0008 |
| `origin_by_hash` | All creators for a hash (earliest = proven creator) | free |
| `origin_by_creator` | Paginated work history by creator DID | free |
| `origin_git_integration` | Auto-receipt every git commit | $50/month |
| `origin_health` | Service health + counts | free |

---

## Endpoints

| Method | Path | Description |
|---|---|---|
| POST | `/v1/origin/create` | Create origin record |
| GET | `/v1/origin/by-hash/{work_hash}` | Proven creator list |
| GET | `/v1/origin/by-creator/{did}` | Creator's work history |
| POST | `/v1/origin/git-integration` | Git commit auto-receipt |
| GET | `/v1/origin/health` | Health check |

---

## Connect

**Smithery:** `https://smithery.ai/server/srotzin/hive-mcp-origin`

**Glama:** `https://glama.ai/mcp/servers/srotzin/hive-mcp-origin`

**Run locally:**
```bash
npm install
node server.js
# MCP endpoint: http://localhost:3000/mcp
```

**JSON-RPC example:**
```bash
curl -s -X POST http://localhost:3000/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

---

## Persistence

Origin records persist to `/var/data/hivemorph/origin_records.jsonl`.
Git integration records persist to `/var/data/hivemorph/origin_git.jsonl`.

---

## Council provenance

R3 pass | R4 pass | R5 pass | R6 pass. Three gates: NEED + YIELD + CLEAN-MONEY.

---

## License

MIT. Backend: [hivemorph](https://github.com/srotzin/hivemorph) (private).

Brand gold: Pantone 1245 C / `#C08D23`