Metadata-Version: 2.4
Name: rubric_mcp_server
Version: 2.0.2
Summary: Post-quantum AI compliance attestation as an MCP server. Works with Claude Desktop, Claude Code, Cursor, Windsurf, Continue, Zed.
Author-email: Scott Sims <scott@rubric-protocol.com>
License: Proprietary
Project-URL: Homepage, https://rubric-protocol.com
Project-URL: Repository, https://github.com/0xsims/rubric-mcp-py
Project-URL: Changelog, https://github.com/0xsims/rubric-mcp-py/blob/main/CHANGELOG.md
Keywords: mcp,rubric,attestation,compliance,eu-ai-act,sr-11-7,hedera,post-quantum,ai-governance
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp>=1.0.0
Requires-Dist: httpx>=0.27.0
Dynamic: license-file

# Rubric MCP Server

**Post-quantum AI compliance attestation for agentic AI.**
Every AI decision your agent makes — attested, Merkle-rooted, HCS-anchored on Hedera mainnet.

`rubric_mcp_server` is an MCP (Model Context Protocol) server that exposes [Rubric Protocol](https://rubric-protocol.com) as 8 tools any MCP-compatible host can call: Claude Desktop, Claude Code, Cursor, Windsurf, Continue, Zed.

Drop it in, and every agent interaction becomes an auditable record — covering EU AI Act Articles 9–15, SR 11-7 model risk governance, NIST AI RMF 1.0, HIPAA, ECOA Reg B, and more.

## Install

```
pip install rubric_mcp_server
```

Requires Python 3.10 or newer.

## Quickstart — Claude Desktop

Add to `~/Library/Application Support/Claude/claude_desktop_config.json` (Mac):

```json
{
  "mcpServers": {
    "rubric": {
      "command": "rubric-mcp"
    }
  }
}
```

Restart Claude. Ask it to attest a decision — you are live in local mode.

For Hedera mainnet anchoring, add `RUBRIC_API_KEY`:

```json
{
  "mcpServers": {
    "rubric": {
      "command": "rubric-mcp",
      "env": { "RUBRIC_API_KEY": "rubric-your-key-here" }
    }
  }
}
```

Request a free developer key via the `register_agent` tool.

## Tools

| Tool | Description | Key? |
|------|------------|------|
| `attest` | Attest an AI decision. HCS-anchored with key; PQ-signed local leaf without. | Optional |
| `verify` | Verify an attestation by ID. Checks local store, then federation. | No |
| `get_proof` | Generate ZK Merkle inclusion proof (Noir/Barretenberg). | Yes |
| `register_agent` | Register an agent and receive a free developer API key. | No |
| `status` | Federation health across US/SG/JP/CA/EU nodes. | No |
| `framework_detect` | Auto-detect applicable regulatory frameworks from decision content (offline). | No |
| `cost_estimate` | Estimate monthly cost from expected decision volume (offline). | No |
| `bundle_query` | Query attestation bundles by leaf type, agent, or time range. | Yes (Standard+) |

## Environment variables

| Variable | Default | Purpose |
|----------|---------|---------|
| `RUBRIC_API_KEY` | _none_ | Unlocks HCS anchoring + federation access. |
| `RUBRIC_BASE_URL` | `https://rubric-protocol.com` | Override for regional routing. |
| `RUBRIC_AGENT_ID` | `mcp-agent` | Default agent identity. |

## Pricing

- **Free** — local mode (PQ-signed leaves, no HCS anchoring)
- **Standard** — $999/mo — HCS anchoring, 100K/mo attestations
- **Enterprise** — $9,999/mo — unlimited throughput, W3C VCs, auditor portal
- **Dedicated** — $25K~/mo — private federation, custom SLA

See [rubric-protocol.com/pricing.html](https://rubric-protocol.com/pricing.html).

## Links

- [Rubric Protocol](https://rubric-protocol.com)
- [Documentation](https://rubric-protocol.com/docs)
- [TypeScript port (npm)](https://www.npmjs.com/package/@rubric-protocol/mcp-server)
- [Model Context Protocol](https://modelcontextprotocol.io)

## License

Proprietary. © 2026 Echelon Intelligence Group LLC. All rights reserved.
Rubric Protocol® is a registered trademark of Echelon Intelligence Group LLC.
