Chainweb API
Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.3
- Listing updated
- 5 days ago
About Chainweb API
Chainweb API is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module deploys.
Install
Run in a terminal
claude mcp add chainweb --env PACT_COMMUNITY_WORKSPACE_ROOT='<PACT_COMMUNITY_WORKSPACE_ROOT>' --env PACT_COMMUNITY_CHAINWEB_MODE='<PACT_COMMUNITY_CHAINWEB_MODE>' -- npx -y @pact-community/mcp-chainwebAdd to claude_desktop_config.json
{
"mcpServers": {
"chainweb": {
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"chainweb": {
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"chainweb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"chainweb": {
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"chainweb": {
"command": "npx",
"args": [
"-y",
"@pact-community/mcp-chainweb"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_CHAINWEB_MODE": "<PACT_COMMUNITY_CHAINWEB_MODE>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PACT_COMMUNITY_WORKSPACE_ROOTWorkspace root directory; all file access is confined inside it.RequiredPACT_COMMUNITY_CHAINWEB_MODENetwork mode; must be set and match PACT_COMMUNITY_CHAINWEB_PROFILE (devnet, testnet06, or mainnet).RequiredPACT_COMMUNITY_CHAINWEB_PROFILENetwork profile: devnet (default, read/write), testnet06, or mainnet (both read-only).PACT_COMMUNITY_CHAINWEB_BASE_URLChainweb node base URL (default per profile).PACT_COMMUNITY_CHAINWEB_NETWORK_IDNetwork id, e.g. development, testnet06, mainnet01 (default per profile).
Pricing
Open source
Chainweb API FAQ
Is Chainweb API free?
Yes. Chainweb API is open source, so you can use and self-host it for free.
How do I add Chainweb API to Claude Code?
Run this command in your terminal: claude mcp add chainweb --env PACT_COMMUNITY_WORKSPACE_ROOT='<PACT_COMMUNITY_WORKSPACE_ROOT>' --env PACT_COMMUNITY_CHAINWEB_MODE='<PACT_COMMUNITY_CHAINWEB_MODE>' -- npx -y @pact-community/mcp-chainweb
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.