Chainweb API MCP server
io.github.Pact-Community-Organization/chainweb·v0.2.3Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module deploys.
0 stars51 downloads/wk
Reviews
Write oneNobody has reviewed Chainweb API yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Chainweb API tools (11, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
chainweb.chain_timeReturn the latest block header for a chain (creationTimeSec, blockHeight, blockHash).
chainweb.continue_pactBuild a continuation cmd (scoped signer) for a defpact step, preflight via /local on the target chain, and submit iff sigs are supplied. Caller must supply any SPV proof (see chainweb.spv_proof) and manage transitive-deps.
chainweb.deploy_modulewrite actionBuild an UNSCOPED-signer deploy tx (with create-table calls in the same tx), preflight via /local, and — iff sigs are supplied — submit to /send. Without sigs, returns the unsigned envelope for external signing. NEVER accepts private keys.
chainweb.infoFetch /info and /cut from the configured chainweb profile. Refuses if the network id differs from the configured expectation.
chainweb.keysList row keys of a Pact table (truncated at `limit`). O(n) on-chain — large tables may exceed gas.
chainweb.localwrite actionExecute Pact code against /local with preflight=true. Read-only. Returns unwrapped Pact values.
chainweb.pollPoll /poll (NOT /listen — nginx 504 trap) until request keys resolve or timeout. Returns unwrapped results.
chainweb.principal_namespaceCompute the deterministic n_<40hex> principal namespace name from a keyset via /local (ns.create-principal-namespace).
chainweb.read_tableRead a single row from a Pact table via /local. Auto-unwraps Pact JSON types. Missing key returns keyFound=false (not an error).
chainweb.sendwrite actionRun local preflight on a pre-signed {cmd,hash,sigs} tx. Refuses on preflight failure. POSTs to /send and returns { requestKey, preflight }.
chainweb.spv_proofFetch the base64 SPV proof for a cross-chain request key from /chain/<source>/pact/spv. Not-ready responses surface as ready=false (not an error). Pass proof through to chainweb.continue_pact.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan35 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 22 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Chainweb API compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,255 servers
- Tools
- 11
- the typical server has 7
- Tools that change things
- 27%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 51
- more than 43% of 12,191 servers with a package
What its tools let an agent do: 8 read · 1 change · 1 send or post · 1 run or deploy
Install Chainweb API in Claude Code, Cursor or VS Code
Runs npx -y @pact-community/mcp-chainweb on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add chainweb -- npx -y @pact-community/mcp-chainweb
What the publisher says
From the Chainweb API repository's README, as published. We do not edit it. Read it on GitHub
pact-mcp — MCP servers for Pact & Chainweb
Model Context Protocol servers that give your AI agent safe, auditable access to the Pact 5 development loop on Kadena Chainweb.
Run REPL tests, scan modules for critical language traps, estimate gas, and query or submit to Chainweb nodes — from Claude, Cursor, VS Code, or any MCP-compatible client. Every tool runs behind a strict, tested security baseline, and no tool ever touches a private key.
{
"mcpServers": {
"pact": {
"command": "npx",
"args": ["-y", "@pact-community/mcp-pact"],
"env": { "PACT_COMMUNITY_WORKSPACE_ROOT": "/path/to/your/project" }
}
}
}Servers
Both are listed in the official MCP registry as io.github.Pact-Community-Organization/pact and io.github.Pact-Community-Organization/chainweb.
Install
VS Code (one click)
Using VS Code with GitHub Copilot? Install with a single click:
The button opens VS Code and pre-fills the configuration. You can also search the MCP Servers view, or add from the command line:
code --add-mcp '{"name":"pact","command":"npx","args":["-y","@pact-community/mcp-pact"],"env":{"PACT_COMMUNITY_WORKSPACE_ROOT":"${workspaceFolder}","PACT_COMMUNITY_PACT_BIN":"pact"}}'On VS Code Insiders, use vscode-insiders: in the links or code-insiders on
the command line.
Claude Code
claude mcp add pact -e PACT_COMMUNITY_WORKSPACE_ROOT=/path/to/your/project \
-- npx -y @pact-community/mcp-pactAny MCP client
Add both servers to your client configuration:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Chainweb API: common questions
- Is Chainweb API MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Chainweb API safety report
- How do I install Chainweb API?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Chainweb API need an API key?
- No secret keys are declared. It reads 5 settings from the environment.
- Is Chainweb API maintained?
- The last commit was 61 days ago (2026-09-04). The latest release is v0.2.3.
- How does Chainweb API compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,255 servers); tools 11 (the typical server has 7); tools that change things 27% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.