US Economic, SEC EDGAR & On-Chain Data — a pay-per-call MCP server
MCP serverDev toolsThis adds 21 paid tools that give your AI access to US macroeconomic data, SEC EDGAR filings, and on-chain EVM reads. Once added, your AI can pull economic figures, company filings, and blockchain data whenever a task needs them. Each call is paid, with payments settled in USDC on Base.
Use US Economic, SEC EDGAR & On-Chain Data — a pay-per-call MCP server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add US Economic, SEC EDGAR & On-Chain Data — a pay-per-call MCP server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the structured json repair tool from US Economic, SEC EDGAR & On-Chain Data
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
After adding it, ask your AI for something concrete, like a macro indicator, a company's SEC EDGAR filings, or data from an EVM chain. Payments settle in USDC on Base.
What your AI can do with it
- Pull US macroeconomic data on demand
- Look up SEC EDGAR filings for companies
- Read data from on-chain EVM networks
- Pay per call with USDC on Base
Install US Economic, SEC EDGAR & On-Chain Data — a pay-per-call MCP server
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user us-economic-sec-edgar-on-chain-d 'https://x402.agentfund.net/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://x402.agentfund.net/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=us-economic-sec-edgar-on-chain-d&config=eyJ1cmwiOiJodHRwczovL3g0MDIuYWdlbnRmdW5kLm5ldC9tY3AifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://x402.agentfund.net/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add us-economic-sec-edgar-on-chain-d --url 'https://x402.agentfund.net/mcp'Run it once, then sign in with codex mcp login us-economic-sec-edgar-on-chain-d if the server asks for an account.
From the project's README
As published by ktcod/x402-json-repair-mcp in README.md.
21 data tools that AI agents discover and pay for per call, settled in USDC on Base via the x402 payment protocol. No account, no API key, no subscription.
Live: https://x402.agentfund.net · Agent guide · Verification ledger · Settlements
| Endpoint | Purpose |
|---|---|
POST /mcp | MCP over streamable-HTTP (stateless) |
POST /x402/<tool> | One HTTP route per tool; arguments as a plain JSON body |
GET /openapi.json | OpenAPI 3.1 discovery document with x-payment-info per route |
GET /SKILL.md | Agent-facing usage guide |
GET /VERIFICATION.md | How each tool was verified, and the upstream traps found |
GET /monitor | Live on-chain settlement dashboard |
GET /health | Liveness and configuration mode |
The tools
US macro — treasury_yield_curve, bls_cpi, macro_pce, macro_jobs, macro_gdp,
macro_retail_sales, macro_housing, macro_energy, macro_release_calendar
SEC EDGAR — edgar_filings_feed, edgar_financials, edgar_insider_transactions,
edgar_13f_holdings, edgar_full_text_search
On-chain EVM — onchain_token_balances, onchain_portfolio, onchain_cross_chain_balances,
onchain_oracle_price, onchain_gas
Pure compute — structured_json_repair, tabular_to_json
Prices run $0.001–$0.03 per call.
Why these sources
Every tool wraps free public-domain US government data (Treasury, BLS, BEA, Census, EIA, SEC EDGAR) or a direct on-chain read via public RPC. There is no upstream vendor licence, so nothing here can be revoked or repriced by a third party, and the cost of goods is zero.
The trade-off is inherited from the publishers: government statistics are lagged and revised, 13F is quarterly and stale by design, and none of this is market data. Those limits are stated plainly in SKILL.md rather than buried.
Correctness
Every tool was checked against live upstream data before shipping — not only against unit tests, because a test written from the same wrong assumption as the code passes happily.
That caught six real defects, including 13F values being 1000× too large by following SEC's own documentation, and Census silently returning five regional rows where a national figure was expected. Each is documented with the evidence that exposed it, and locked in by a regression test: VERIFICATION.md.
A failed call is never billed. The MCP SDK turns a thrown tool error into an HTTP 200 carrying
isError: true; the payment gate inspects the result and returns errors unsettled rather than
charging for a result the caller never received.
Architecture
- x402 v2 (
@x402/core,@x402/evm) with the Coinbase CDP facilitator on Base mainnet. - MCP on Workers via
@hono/mcpStreamableHTTPTransport(the SDK's own transport is Node-http-based). Stateless JSON. - Two entry points, one payment path.
/mcpand/x402/<tool>both run throughPaymentGate.chargeAndRun, so money-safety rules cannot drift between them. - Per-tool HTTP routes exist for discovery. The x402 Bazaar indexes plain HTTP resources only
— every catalog entry is
type: "http"— so an MCP endpoint alone can never be listed. - Discovery needs no secrets.
initialize,tools/listandpingare answered without payment configuration, so the server introspects cleanly on a fresh clone or in a CI sandbox. - Validation uses
@cfworker/json-schema, not Ajv — Ajv compiles viaFunction, which Workers forbid, and the schema is a runtime input so it cannot be precompiled. - No private keys. The server holds only a public payout address;
config.tsrefuses private-key- or seed-shaped input.
Adding a tool is a one-file change plus a line in src/tools/index.ts.
Development
npm install
npm test # 174 tests
npm run typecheck
npm run dev # wrangler dev
npm run dev:node # tsx watch src/node.ts
Copy .dev.vars.example to .dev.vars for local configuration. Only the public payout
address is ever needed — never a private key or seed phrase.
Docs are mirrored into the bundle (Workers have no filesystem); run npm run gen:docs after
editing SKILL.md or VERIFICATION.md, or test/docs.test.ts will fail on the drift.
Deployment
Production runs on Cloudflare Workers. Secrets are set with wrangler secret put, never in
wrangler.toml:
npx wrangler deploy --env production
A Dockerfile is included for self-hosting the Node entrypoint; it needs no secrets, so the
container starts and passes introspection out of the box. See
OPERATOR_CHECKLIST.md for the full runbook.
Buyer-side test clients
PAYER_PRIVATE_KEY=0x… node scripts/pay-test.mjs # pay via /mcp
PAYER_PRIVATE_KEY=0x… node scripts/pay-http.mjs # pay via /x402/<tool>
node scripts/index-all.mjs # dry run: Bazaar index status
Payment is gasless for the payer (the facilitator submits the transaction), so a test wallet
needs USDC and no ETH. index-all.mjs skips already-indexed routes and refuses to spend without
--yes.
Licence
MIT (declared in package.json; no LICENSE file has been added yet).
Tools it offers (21)
What this server listed when Ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.
structured_json_repairtabular_to_jsontreasury_yield_curvebls_cpimacro_jobsmacro_pcemacro_gdpmacro_retail_salesmacro_housingmacro_energymacro_release_calendaredgar_insider_transactionsedgar_financialsedgar_13f_holdingsedgar_filings_feededgar_full_text_searchonchain_token_balancesonchain_portfolioonchain_cross_chain_balancesonchain_oracle_priceonchain_gas
Signals
- Last commit
- Aug 2026
Advanced
- Delivery
- us-economic-macro-sec-edgar-onchain-data MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
net-agentfund-us-economic-macro-sec-edgar-onchain-data- Source
- github.com/ktcod/x402-json-repair-mcp
- Hosted endpoint
https://x402.agentfund.net/mcp
github.com/ktcod/x402-json-repair-mcp