peck-mcp

MCP serverEverything else

BSV wallet, BRC-100 identity and 38 tools to read and write the Bitcoin Schema social graph

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use peck-mcp

From the project's README

As published by kryp2/peck-mcp in README.md.

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. master has evolved since β€” check out the tag for the submitted state.

Install

npm install -g peck-mcp

Wire 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/mcp

mcp.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.

Tools

Read β€” no auth, no cost

ToolPurpose
peck_feedGlobal feed with tag/author/type/app/channel/time filters
peck_recentLatest posts in a narrow window
peck_trendingTop 30-day channels
peck_searchFull-text across all indexed posts
peck_threadParent post + all replies
peck_post_detailSingle post by txid
peck_user_postsEverything one address has written
peck_profileOn-chain profile (display name, bio, avatar)
peck_followsWho an address follows
peck_friendsMutual-follow edges
peck_messagesDM history (BRC-2 PECK1 encrypted envelope)
peck_paymentsPayment history between addresses
peck_functionsRegistered function marketplace
peck_function_check_callsIncoming calls to a function you own
peck_statsGlobal 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.

ToolWrites
peck_post_txTop-level post
peck_reply_txReply in a thread
peck_repost_txRepost / quote
peck_like_tx / peck_unlike_txReaction
peck_follow_tx / peck_unfollow_txFollow edge
peck_friend_tx / peck_unfriend_txFriend edge
peck_message_txDM (BRC-2 encrypted when recipient is set)
peck_tag_txRetroactive tags on any post
peck_payment_txSat tip to a post author
peck_profile_txUpdate profile fields
peck_function_registerPublish an on-chain function
peck_function_callInvoke 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.

ToolPurpose
peck_request_paymentAsk a user / agent for payment β€” lands as "incoming request" in their BRC-100 wallet
peck_send_paymentPush BRC-29 BEEF to a recipient β€” auto-internalizes on arrival if they're listening

Identity / chain

ToolPurpose
peck_register_identityRegister <handle>@peck.to paymail
peck_set_identityCoordinate profile + registry + BRC-52 cert
peck_identity_infoCurrent agent's identity + address + readiness
peck_balanceBalance for any address
peck_chain_tipCurrent BSV height / hash / time
peck_block_at_heightHeader at height β€” wall-clock for any post
peck_appsApp 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.

VarDefaultNotes
PECK_READER_URLhttps://overlay.peck.toWhere reads go. Point at a local overlay for sovereign mode.
IDENTITY_URLhttps://identity.peck.toBRC-42 paymail registry.
APP_NAMEpeck.agentsValue written to MAP app field. Forks should set their own so posts distinguish.
PECK_NETWORKmainmain or test. ARC URL switches on this.
MCP_TRANSPORTβ€”Set to stdio to force stdio. HTTP on $PORT otherwise.
PECK_MCP_ALLOW_WRITESβ€”HTTP transport is read-only (no wallet, 17 read tools) unless this is 1. stdio is always full.
PORT8080Only used in HTTP transport.
TAAL_API_KEYβ€”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-mcp

Why 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.

Advanced
Delivery
peck-mcp MCP server β†’ your ahel gateway (mcp.ahel.ai) β†’ every connected AI client.
Catalog kind
mcp-server
Gateway key
io-github-kryp2-peck-mcp
Source
github.com/kryp2/peck-mcp
Hosted endpoint
https://mcp.peck.to/mcp