New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@blackwood-state/mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blackwood-state/mcp

Blackwood State tools for AI agents over MCP: pay-per-call APIs (USDC on Base over x402) with a free starting credit, a spend cap per call and per day, and payment built in.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@blackwood-state/mcp

Blackwood State tools for AI agents over MCP. The package gives 33 pay-per-call tools, paid in USDC on Base over x402:

  • onchain data: token prices, wallet balances and portfolio value, ENS, gas fees, new token pools;
  • ECB exchange rates;
  • text utilities: summarize, translate, sentiment;
  • and more.

The server holds no wallet by default: when a call needs payment, it hands the agent the command that pays it from the wallet the agent already has (AgentCash or the Coinbase Agentic Wallet), capped at the price of that call.

claude mcp add blackwood -- npx -y @blackwood-state/mcp

Any MCP client over stdio:

{ "mcpServers": { "blackwood": { "command": "npx", "args": ["-y", "@blackwood-state/mcp"] } } }

How payment works

  • Free demo credit. On first use, the server asks for US$0.05 of credit (one per IP per day) and keeps the key in ~/.blackwood/state.json. Set BLACKWOOD_NO_TRIAL=1 to skip it.
  • Then the wallet you already have. Without credit, a paid tool returns its live price and two ready commands, and nothing is charged:
    • AgentCash: npx -y agentcash@0.17.1 fetch '<url>' -m POST -b '<json>' --max-amount <usd>
    • Coinbase Agentic Wallet, after npx awal auth login: npx -y awal@2.12.2 x402 pay '<url>' -X POST -d '<json>' --max-amount <atomic> The agent should ask the user before paying, unless the user already approved a budget.
  • Other ways:
    • Prepaid credit: BLACKWOOD_CREDITS_KEY, a key bought at /v1/credits/5.
    • Advanced mode: BLACKWOOD_PRIVATE_KEY, a Base wallet that this server signs x402 payments with, only for Base USDC and only within the caps. Use a dedicated wallet that holds only what you plan to spend.
  • Never charged for failures. A call that fails or rejects the input costs nothing.
VariableDefault
BLACKWOOD_CREDITS_KEYnoneprepaid credit key (bwk_...)
BLACKWOOD_PRIVATE_KEYnoneadvanced mode: Base wallet that pays per call over x402
BLACKWOOD_MAX_USD_PER_CALL0.05cap per call in advanced mode
BLACKWOOD_MAX_USD_PER_DAY1cap per UTC day in advanced mode
BLACKWOOD_NO_TRIALunset1 skips the free demo credit
BLACKWOOD_HOME~/.blackwoodstate directory

blackwood_account (free) shows the credit left, the paying wallet (advanced mode), today's spend and the caps.

The same routes are plain HTTP endpoints. Each one answers 402 with its price; see the OpenAPI at https://x402-gateway.blackwoodstate8.workers.dev/openapi.json. A skill for Agent Skills clients ships in skills/blackwood-state/SKILL.md.

Source: https://github.com/Blackwood-State/mcp. MIT license.

Keywords

mcp

FAQs

Package last updated on 20 Oct 2026

Related posts