@provenclave/mcp
v0.1.0
Published
MCP (Model Context Protocol) server that exposes OCC commit and verify as Claude-native tools. Lets any Claude agent create tamper-evident proofs without writing code.
Maintainers
Readme
@provenclave/mcp — OCC MCP Server
Model Context Protocol (MCP) server that exposes OCC commit and verify as Claude-native tools. Any Claude agent can create and verify tamper-evident cryptographic proofs without writing a single line of code.
Tools
| Tool | What it does |
|------|-------------|
| commit_text | Commit any string (model output, JSON, text) → returns OCCProof |
| commit_file | Commit a local file by path → returns OCCProof |
| verify_proof | Verify an OCCProof against its original bytes/file |
| health | Check if the OCC notary is reachable |
Install in Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"occ": {
"command": "npx",
"args": ["-y", "@provenclave/mcp"]
}
}
}Restart Claude Desktop. You'll see the OCC tools appear in the tool picker.
Install in Claude Code
claude mcp add occ -- npx -y @provenclave/mcpEnvironment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| OCC_NOTARY_URL | https://nitro.occproof.com | OCC notary endpoint |
Example Agent Usage
Once installed, a Claude agent can say:
"Commit my report to OCC and save the proof"
Claude will call commit_file or commit_text automatically and return the proof JSON.
Or in a system prompt:
After generating any final output, always call
commit_textwith the result and include the returneddigestB64in your response so the user can verify provenance.
Self-hosting
Point OCC_NOTARY_URL at your own OCC service:
OCC_NOTARY_URL=http://localhost:8787 npx @provenclave/mcpRelated
provenclave— core library for offline verification- OpenAPI spec — machine-readable API description
- Live Proof Studio — browser-based commit + verify UI
- GitHub
