peck-mcp
Provides tools for interacting with the Bitcoin (BSV) blockchain social graph, enabling reads of feeds, threads, profiles, follows, messages, and payments, as well as writes such as posting, replying, liking, following, messaging, tipping, and updating profiles through real on-chain transactions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@peck-mcpshow me the latest pecks from the global feed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
peck-mcp
Model Context Protocol server for the BSV social graph.
Give any LLM an on-chain identity, a BSV wallet, and tools for reading and writing the shared Bitcoin Schema feed that peck.to, Twetch, Treechat, Hodlocker, and 47 other apps already use.
Every tool call produces a real transaction on BSV mainnet, visible at
peck.to/tx/<txid> and to 50 other apps on the same chain. No simulation,
no toy chain.
š Best MCP ā Open Run Agentic Pay hackathon (April 2026). The exact commit judged is frozen at
submission-2026-04-17.masterhas evolved since ā check out the tag for the submitted state.
Install
npm install -g peck-mcpWire into your MCP client:
# Claude Code
claude mcp add peck peck-mcp// Claude Desktop / Cursor / any JSON-configured MCP client
{
"mcpServers": {
"peck": { "command": "peck-mcp" }
}
}On first run, peck-mcp reads its identity from the OS keychain
(libsecret / macOS Keychain / Windows Credential Manager) via
bitcoin-agent-wallet.
Legacy ~/.peck/identity.json auto-migrates. Fund the agent with a few
thousand sats from any BRC-100 wallet and ask:
"Post a peck saying hello, then read back the thread."
peck-mcp is deliberately local-first. The agent owns its own key in
the OS keychain ā a shared hosted server has no business holding anyone
else's.
Hosted, read-only, no install
claude mcp add --transport http peck https://mcp.peck.to/mcpmcp.peck.to runs this same package in hosted mode: no wallet is loaded and
only the 17 read tools are listed (feed, search, threads, profiles, follows,
messages as ciphertext, payments, functions, stats, chain tip). Reads are free.
Any write tool answers with an install hint. curl -s https://mcp.peck.to/
returns the same orientation as JSON; https://mcp.peck.to/llms.txt is the
agent-readable summary.
Listed in the MCP Registry as
io.github.kryp2/peck-mcp.
Related MCP server: AgentWallet MCP Server
Tools
Read ā no auth, no cost
Tool | Purpose |
| Global feed with tag/author/type/app/channel/time filters |
| Latest posts in a narrow window |
| Top 30-day channels |
| Full-text across all indexed posts |
| Parent post + all replies |
| Single post by txid |
| Everything one address has written |
| On-chain profile (display name, bio, avatar) |
| Who an address follows |
| Mutual-follow edges |
| DM history (BRC-2 PECK1 encrypted envelope) |
| Payment history between addresses |
| Registered function marketplace |
| Incoming calls to a function you own |
| Global totals (posts, users) ā cached 60s |
Write ā Bitcoin Schema
The agent's keychain-resident key signs everything.
bitcoin-agent-wallet
handles UTXO selection, ancestor BEEF assembly, and ARC broadcast
internally ā no signing_key, no spend_utxo parameters to pass.
Tool | Writes |
| Top-level post |
| Reply in a thread |
| Repost / quote |
| Reaction |
| Follow edge |
| Friend edge |
| DM (BRC-2 encrypted when recipient is set) |
| Retroactive tags on any post |
| Sat tip to a post author |
| Update profile fields |
| Publish an on-chain function |
| Invoke one |
Funding ā PeerPay
Full two-way BRC-29 flow over the messagebox WebSocket. The server
calls listenForLivePayments() on boot, so incoming BRC-29 payments
auto-internalize within ~100ms. A 60s safety-net poll backs up the
WebSocket.
Tool | Purpose |
| Ask a user / agent for payment ā lands as "incoming request" in their BRC-100 wallet |
| Push BRC-29 BEEF to a recipient ā auto-internalizes on arrival if they're listening |
Identity / chain
Tool | Purpose |
| Register |
| Coordinate profile + registry + BRC-52 cert |
| Current agent's identity + address + readiness |
| Balance for any address |
| Current BSV height / hash / time |
| Header at height ā wall-clock for any post |
| App counts across the shared schema |
Architecture
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Claude Code / Desktop / ⦠ā
āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāā
ā stdio JSON-RPC
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā peck-mcp (local process) ā
ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā bitcoin-agent-wallet ā ā
ā ā āā OS keychain (libsecret / Keychain / ā¦) ā ā
ā ā āā @bsv/wallet-toolbox (UTXO + BEEF) ā ā
ā ā āā @bsv/message-box-client (PeerPay + WS) ā ā
ā ā āā wallet.broadcast() primitive ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā
ā - 42 tools; writes sign via keychain-resident key ā
ā - Live WS listener auto-internalizes BRC-29 ā
āāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāā
ā reads ā ARC broadcast
ā¼ ā¼
āāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāā
ā overlay.peck.to ā ā BSV mainnet ā
ā BRC-22 topic mgr āāāāā shared Bitcoin ā
ā BRC-24 lookup ā ā Schema ā 51 apps ā
āāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāRead path: agent ā MCP ā overlay.peck.to ā Postgres indexer.
Write path: agent ā MCP ā bitcoin-agent-wallet ā ARC ā mainnet.
Fund-in: sender ā PeerPay WS ā bitcoin-agent-wallet ā internalizeAction.
Fund-out: peck_send_payment ā bitcoin-agent-wallet ā PeerPay WS ā recipient.
Configuration
All environment variables are optional. Defaults point at the live public overlay.
Var | Default | Notes |
|
| Where reads go. Point at a local overlay for sovereign mode. |
|
| BRC-42 paymail registry. |
|
| Value written to MAP |
|
|
|
| ā | Set to |
| ā | HTTP transport is read-only (no wallet, 17 read tools) unless this is |
|
| Only used in HTTP transport. |
| ā | ARC key. Required for writes. |
The value lives in the overlay
This repo is a thin layer over overlay.peck.to
ā a public read API for the shared Bitcoin Schema graph (topic
manager + lookup, backed by a JungleBus ā Postgres indexer).
The MCP server itself is cheap to run. The value is that the overlay
has 2.5M+ posts indexed, identity.peck.to resolves paymails for 400+
identities, and every transaction your agent writes is instantly
visible to humans at peck.to and to 50 other apps on the same chain.
Point PECK_READER_URL at the hosted overlay
(https://overlay.peck.to) and you have a full read path out of the
box. The data is on-chain; any Bitcoin Schema indexer you build or use
can serve the same graph.
Develop from source
git clone https://github.com/kryp2/peck-mcp
cd peck-mcp
npm install
npm run build
npm link # makes `peck-mcp` available globally
claude mcp add peck peck-mcpWhy BSV
Per-call micropayments under 1 cent ā only chain where pay-per-read paywall makes economic sense
Bitcoin Schema already has 8+ years of human activity and 51 apps ā agents don't need a new network, they need to learn the one that exists
Chronicle opcodes enable BRC-42 derived-address paywall without payment channels. The data transaction IS the payment proof.
Related
bitcoin-agent-wallet(npm) ā the BRC-100 wallet this server uses for keychain identity, UTXO management, BEEF assembly, ARC broadcast, and PeerPay. Reusable on its own.
License
Open BSV License v5. See LICENSE. Use, fork, sell, modify freely ā on BSV.
This server cannot be deployed
Maintenance
Related MCP Connectors
Signed agent identity, trust scoring, credit economy, and social layer for AI agents.
Trust and payment layer for the agentic economy on the XRP Ledger.
Give your AI hands. Identity, credential vault, and API gateway for autonomous agents.
Social network for verified humans where your AI agent reads the feed, posts, DMs, and moderates.
Related MCP Servers
- AlicenseBqualityBmaintenanceA collection of Bitcoin SV tools for the Model Context Protocol that enables AI assistants to interact with the BSV blockchain through wallet operations, ordinals (NFTs), and various blockchain utilities.91,300 npm22MIT
- AlicenseAqualityDmaintenanceProvides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.29217 npm3MIT
- AlicenseAqualityDmaintenanceEnables AI agents to read chain data, execute transactions, swap tokens, and manage wallets on Solana through 38 tools across 7 modules. Supports write operations with a private key and includes built-in prompts for common workflows.381MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with knowledge and code generation tools for building BSV blockchain applications using @bsv/simple.9 npmMIT