Sheaf
Tamper-evident receipts for AI agent tool calls, verifiable offline by auditors
Sheaf is an open-source MCP server for agent tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 0.2.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-tools --env SHEAF_PAYER_PRIVATE_KEY='<SHEAF_PAYER_PRIVATE_KEY>' -- npx -y @sheafhq/mcp-toolsAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-tools": {
"command": "npx",
"args": [
"-y",
"@sheafhq/mcp-tools"
],
"env": {
"SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-tools": {
"command": "npx",
"args": [
"-y",
"@sheafhq/mcp-tools"
],
"env": {
"SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-tools": {
"command": "npx",
"args": [
"-y",
"@sheafhq/mcp-tools"
],
"env": {
"SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sheafhq/mcp-tools"
],
"env": {
"SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-tools --env SHEAF_PAYER_PRIVATE_KEY='<SHEAF_PAYER_PRIVATE_KEY>' -- npx -y @sheafhq/mcp-toolsOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-tools]
command = "npx"
args = ["-y", "@sheafhq/mcp-tools"]
env = { SHEAF_PAYER_PRIVATE_KEY = "<SHEAF_PAYER_PRIVATE_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-tools": {
"command": "npx",
"args": [
"-y",
"@sheafhq/mcp-tools"
],
"env": {
"SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Or run: gemini mcp add -s user -e SHEAF_PAYER_PRIVATE_KEY='<SHEAF_PAYER_PRIVATE_KEY>' mcp-tools npx -- -y @sheafhq/mcp-tools
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-tools": { "command": "npx", "args": [ "-y", "@sheafhq/mcp-tools" ], "env": { "SHEAF_PAYER_PRIVATE_KEY": "<SHEAF_PAYER_PRIVATE_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SHEAF_RECORDER_URLRecorder to query (default https://api.sheafhq.io).SHEAF_BASE_RPCBase mainnet RPC used to confirm anchors (default https://mainnet.base.org).SHEAF_PAYER_PRIVATE_KEYFunded Base wallet key, only for the two paid x402 tools. Read tools need no key.
About Sheaf
Sheaf's MCP server gives AI clients read access to Sheaf's evidence chains. It can fetch the current head of a chain, retrieve a Merkle inclusion proof with its on-chain anchor reference for a given event, and verify a dispute or receipt bundle from end to end, covering signatures, Merkle inclusion and the Base anchor transaction.
The server is a separate, opt-in tool surface. Recording the calls themselves is handled by a companion proxy package, so an agent's tool use is captured outside the agent process before anyone queries it here. Verification of dispute bundles is done against pinned keys only.
The three read tools are free to use. Two tools that buy artifacts or anchor a Merkle root are paid per call in USDC on Base via the x402 protocol and need a funded wallet key set in the environment.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 5 tools reads data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- sheaf_chain_head
- Fetch the current head of a Sheaf chain (seq + hash).
- sheaf_get_proof_forName suggests: reads
- Fetch a Merkle inclusion proof + on-chain anchor reference for a specific event.
- sheaf_verify_bundle
- Verify a .sheaf dispute bundle or a receipt bundle end-to-end (signatures, Merkle inclusion, Base anchor).
- sheaf_buy_bundle
- Pay $0.001 USDC on Base via x402 and buy the self-contained /bundle artifact.
- sheaf_anchor_local
- Pay $0.01 USDC on Base and anchor a signed local Merkle root via /v1/anchor/local.
What it does
- Chain head lookup
- Returns the latest sequence number and hash for a Sheaf chain.
- Merkle inclusion proofs
- Fetches a proof for a specific event together with its on-chain anchor reference.
- End-to-end bundle verification
- Checks signatures, Merkle inclusion and the Base anchor for .sheaf or receipt bundles.
- Pay-per-call artifacts
- Buys self-contained bundles or anchors a local Merkle root using x402 payments in USDC.
- Configurable endpoints
- Lets you point the recorder and Base RPC at custom hosts through environment variables.
Good for
- Checking a receipt for a disputed AI agent action without trusting the operator's logs
- Pulling a Merkle proof for one tool call to include in an audit file
- Confirming that an agent's recorded chain head matches what is anchored on Base
- Adding verifiable receipt checks to an MCP-compatible assistant such as Claude Desktop
Pricing
Open source
Read tools are free and MIT licensed; paid tools cost $0.001 or $0.01 USDC per call.
Prices change. Check sheafhq.io before you buy.
Sheaf FAQ
Do I need a wallet to use the server?
No. The three read tools need no key. Only the two paid tools require SHEAF_PAYER_PRIVATE_KEY pointing at a funded Base wallet.
How is the server installed?
It is published on npm as @sheafhq/mcp-tools and can be installed globally with npm install -g. It is also listed in the official MCP Registry as io.sheafhq/mcp-tools.
Does Sheaf record agent tool calls?
No. Event capture is done by the companion package @sheafhq/mcp-recorder. This package only exposes read and paid verification tools.
What license is Sheaf under?
The package is released under the MIT license.
Is Sheaf free?
Yes. Sheaf is open source, so you can use and self-host it for free.
How do I add Sheaf to Claude Code?
Run this command in your terminal: claude mcp add mcp-tools --env SHEAF_PAYER_PRIVATE_KEY='<SHEAF_PAYER_PRIVATE_KEY>' -- npx -y @sheafhq/mcp-tools
What are the best alternatives to Sheaf?
The closest alternatives to Sheaf are Agent Services MCP, Fairseal MCP Server, Stillos Notary MCP, Axiom Agentic Tools and Agent Web Reader.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.