US Economic, SEC EDGAR & On-Chain Data (x402)

net.agentfund由 agentfund.net 發布官方發布者v0.2.0更新於 Nov 2, 2026

21 paid tools: US macro data, SEC EDGAR filings, on-chain EVM reads. Settled in USDC on Base.

已驗證Streamable HTTP可網頁執行資料庫金融資料與分析

概覽

AI 產生的概覽

按次付費的遠端 MCP 伺服器,讓助理取得美國總體經濟統計、SEC EDGAR 申報文件與鏈上 EVM 資料,以 Base 上的 USDC 結算。

可以做什麼
  • 取得美國總體經濟資料:公債殖利率曲線、CPI、PCE、就業、GDP、零售銷售、住宅、能源以及 BLS 發布行事曆
  • 查詢 SEC EDGAR 資料:申報文件動態、公司財務數據、內部人 Form 4 交易、13F 持股與全文檢索
  • 讀取鏈上 EVM 資料:多個錢包的 ERC-20 餘額、以美元計價的投資組合、跨鏈餘額、Chainlink 預言機價格與 Gas 價格
  • 在本機整理資料:依 JSON Schema 修復格式錯誤的 JSON,並把 CSV、TSV 或 Markdown 表格轉成具型別的 JSON 資料列
適用情境
適合需要最新美國經濟指標、SEC 申報細節或錢包與代幣資料,又不想自行建置爬蟲或批次 RPC 查詢的情況。每次呼叫單獨付費,較適合零星查詢而非高頻輪詢。
執行需求
遠端 streamable-HTTP 端點 x402.agentfund.net,不需帳號或 API 金鑰。每次呼叫透過 x402 協定以 Base 上的 USDC 付費,用戶端需有已儲值的錢包並支援 x402 付款。需要能連線至該端點的網路。
安裝前請注意
每次工具呼叫都會產生費用(每次 0.001–0.03 美元,以 Base 上的 USDC 結算),自動化或迴圈呼叫的代理可能持續花錢;失敗的呼叫據稱不計費。付款需在用戶端持有錢包私鑰,建議使用專用的低餘額測試錢包。資料為落後且會修訂的政府統計與每季更新的 13F 持股,並非即時行情。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 US Economic, SEC EDGAR & On-Chain Data (x402),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/net.agentfund%2Fus-economic-macro-sec-edgar-onchain-data/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "us-economic-sec-edgar-on-chain-data-x402": {
      "type": "http",
      "url": "https://x402.agentfund.net/mcp"
    }
  }
}

README

US Economic, SEC EDGAR & On-Chain Data — a pay-per-call MCP server

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

EndpointPurpose
POST /mcpMCP over streamable-HTTP (stateless)
POST /x402/<tool>One HTTP route per tool; arguments as a plain JSON body
GET /openapi.jsonOpenAPI 3.1 discovery document with x-payment-info per route
GET /SKILL.mdAgent-facing usage guide
GET /VERIFICATION.mdHow each tool was verified, and the upstream traps found
GET /monitorLive on-chain settlement dashboard
GET /healthLiveness 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/mcp StreamableHTTPTransport (the SDK's own transport is Node-http-based). Stateless JSON.
  • Two entry points, one payment path. /mcp and /x402/<tool> both run through PaymentGate.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/list and ping are 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 via Function, 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.ts refuses private-key- or seed-shaped input.

Adding a tool is a one-file change plus a line in src/tools/index.ts.

Development

bash
npm installnpm test          # 174 testsnpm run typechecknpm run dev       # wrangler devnpm 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:

bash
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

bash
PAYER_PRIVATE_KEY=0x… node scripts/pay-test.mjs      # pay via /mcpPAYER_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).

來源:README.md,提交 194580b

工具

21

structured_json_repair

Structured JSON Repair

Repair messy or invalid JSON (the kind LLMs and tools often emit) into clean, valid JSON, and optionally validate/coerce it against a JSON Schema. Pure deterministic compute — no network or model calls. What it fixes: trailing commas, single-quoted strings, unquoted keys, Python literals (None/True/False), NaN/Infinity, Markdown code-fence wrappers, and truncated/garbled tails. When to use: you received text that should be JSON but JSON.parse fails, or you have JSON that must conform to a specific schema and want types coerced (e.g. "36" -> 36, "true" -> true). When NOT to use: the input is already known-valid JSON and no schema check is needed. Args: - input (string, required): the raw/malformed JSON text. - schema (object, optional): a JSON Schema (draft 2020-12) to validate and coerce against. - coerce (boolean, optional, default true): coerce primitive types to satisfy the schema before validating. Returns structuredContent: { "ok": boolean, // true if valid JSON (and schema-valid when a schema was given) "data": any, // the repaired/validated JSON value; null if unfixable "changed": boolean, // true if any repair or coercion modified the input "errors": string[], // actionable messages when ok is false "repairs": string[] // description of each fix applied }

輸入參數input必填coerceschema

tabular_to_json

Tabular to JSON

Convert messy tabular text into clean, typed JSON rows. Auto-detects CSV, TSV, or a Markdown table and returns one JSON object per row plus an inferred column/type summary. Pure deterministic compute — no network or model calls. What it handles: delimiter sniffing (comma/semicolon/tab/pipe), quoted fields with embedded commas and newlines, BOM, ragged rows (padded/truncated), Markdown separator rows and escaped pipes, header auto-detection, and per-column type inference (integer/number/boolean/null/string). When to use: you have CSV/TSV/Markdown-table text (often emitted by tools or LLMs) and want structured, typed rows — optionally validated/coerced against a JSON Schema. When NOT to use: the data is already clean JSON, or it is HTML/xlsx/binary (not supported). Args: - input (string, required): raw tabular text. - format ("auto"|"csv"|"tsv"|"markdown", default "auto"): force a format or auto-detect. - hasHeader ("auto"|"true"|"false", default "auto"): whether the first row is a header. - inferTypes (boolean, default true): coerce cells to number/integer/boolean/null; else keep strings. - schema (object, optional): JSON Schema (draft 2020-12) to validate/coerce each row object against. Returns structuredContent: { "ok": boolean, // false if the input cannot be parsed as a table "format": "csv"|"tsv"|"markdown", "columns": [{ "name": string, "type": string }], "rows": [{ ... }], // one object per row, keyed by column name "rowCount": number, "changed": boolean, // true if any normalization/coercion happened "errors": string[], // actionable messages when ok is false "repairs": string[] // description of each normalization applied }

輸入參數input必填formatschemahasHeaderinferTypes

treasury_yield_curve

US Treasury Yield Curve

Current and recent U.S. Treasury par yield curve rates, with the spreads traders actually watch already computed. Returns every published tenor (1 month through 30 years) for the latest business day, plus the 2s10s spread, the 3m10y spread, and an inversion flag. Source is the U.S. Treasury's official daily par yield curve (public domain, no attribution required). When to use: you need risk-free rates for discounting, a read on the curve's shape, or recession-signal context (curve inversion). When NOT to use: you need intraday quotes (this publishes once per business day) or non-U.S. sovereign curves. Args: - days (integer, optional, default 1): how many recent business days to return, newest first (1-30). Returns structuredContent: { "asOf": "2026-08-14", "latest": { "date": "2026-08-14", "tenors": { "1M": 3.79, "3M": 3.86, "2Y": 4.17, "10Y": 4.68, "30Y": 5.25 }, "spread2s10s": 0.51, "spread3m10y": 0.82, "inverted": false }, "history": [ ...same shape, newest first... ], "source": "https://home.treasury.gov/..." }

輸入參數days

bls_cpi

US CPI Inflation

Latest U.S. CPI inflation from the Bureau of Labor Statistics, with the rates already computed. BLS publishes index levels, not inflation rates. This tool does the arithmetic: headline and core (all items less food and energy) CPI, each with year-over-year and month-over-month percent change. Year-over-year uses not-seasonally-adjusted data and month-over-month uses seasonally adjusted, matching how these figures are conventionally reported. When to use: you need the current inflation rate, a real-versus-nominal adjustment, or CPI context for a macro decision. When NOT to use: you need PCE (the Fed's preferred gauge), regional or category-level CPI detail, or a long historical series. Args: none. Returns structuredContent: { "asOf": "2026-07", "periodName": "July 2026", "headline": { "index": 333.918, "yoyPercent": 2.9, "momPercent": 0.2 }, "core": { "index": 337.133, "yoyPercent": 3.1, "momPercent": 0.3 }, "source": "https://www.bls.gov/cpi/" }

無需輸入參數。

macro_jobs

US Jobs Report

Latest U.S. labour-market data from the Bureau of Labor Statistics, with the headline changes computed. Returns the unemployment rate, labour force participation rate, total nonfarm payrolls, the month-over-month change in payrolls (the "jobs added" number that leads the Employment Situation report), average hourly earnings, and year-over-year wage growth. All series are seasonally adjusted. BLS publishes levels; the month-over-month and year-over-year changes are computed here. When to use: reading the state of the labour market, wage-inflation context, or Fed-policy reasoning. When NOT to use: you need state or metro level detail, industry breakdowns, or JOLTS openings and quits. Args: none. Returns structuredContent: { "asOf": "2026-07", "periodName": "July 2026", "unemploymentRate": 4.1, "participationRate": 62.4, "nonfarmPayrolls": 158858, "payrollsChange": 73, "avgHourlyEarnings": 37.62, "earningsYoyPercent": 3.8, "source": "https://www.bls.gov/ces/" } Payrolls are in thousands of jobs, so payrollsChange 73 means +73,000 jobs on the month.

無需輸入參數。

macro_pce

US PCE Inflation (Fed's Preferred Gauge)

The Fed's preferred inflation gauge: Personal Consumption Expenditures (PCE) price index, headline and core. The Federal Reserve targets PCE inflation, not CPI, when setting policy. Returns the headline index and "PCE excluding food and energy" (the actual core measure the Fed watches), each with year-over-year and month-over-month percent change computed from BEA's published index levels. When to use: Fed-policy reasoning, comparing the Fed's actual inflation target against CPI, macro research that specifically needs PCE rather than CPI. When NOT to use: you want CPI (use bls_cpi, which is timelier and what headlines usually report) or category-level PCE detail. Args: none. Returns structuredContent: { "asOf": "2026-06", "headline": { "index": 129.5, "yoyPercent": 2.6, "momPercent": 0.3 }, "core": { "index": 131.2, "yoyPercent": 2.8, "momPercent": 0.2 }, "source": "https://www.bea.gov/data/personal-consumption-expenditures-price-index" }

無需輸入參數。

macro_gdp

US Real GDP Growth

Latest U.S. real GDP growth rate, from BEA's National Income and Product Accounts. Returns the annualized quarter-over-quarter growth rate for the most recent quarter (the headline "how is the economy growing" number), plus the prior two quarters for trend context. BEA publishes this table as a percent-change series already, so no growth-rate math is needed here. When to use: reading the pace of economic growth, recession-risk context (two consecutive negative quarters), or macro backdrop for a market decision. When NOT to use: you need GDP in dollar levels, expenditure-component detail (consumption, investment, government, net exports), or real-time/nowcast estimates (this is BEA's official, lagged release). Args: none. Returns structuredContent: { "asOf": "2026Q2", "growthAnnualizedPercent": 1.5, "priorQuarters": [ { "quarter": "2026Q1", "growthAnnualizedPercent": 2.1 }, { "quarter": "2025Q4", "growthAnnualizedPercent": 0.5 } ], "source": "https://www.bea.gov/data/gdp/gross-domestic-product" }

無需輸入參數。

macro_retail_sales

US Retail Sales

Latest U.S. retail sales, seasonally adjusted, excluding motor vehicles and parts — the "ex-autos" figure most commonly cited as a consumer-spending signal. Returns the seasonally-adjusted monthly sales total in millions of dollars, with month-over-month and year-over-year percent change computed from the Census Bureau's Advance Monthly Retail Trade Survey. When to use: gauging consumer spending strength, a component of GDP nowcasting, retail-sector demand signal. When NOT to use: you need category-level detail (e.g. just electronics, or just restaurants), the auto-inclusive headline total, or real-time/weekly data (this is a monthly government release). Args: none. Returns structuredContent: { "asOf": "2026-06", "salesMillions": 766192, "momPercent": 0.9, "yoyPercent": 3.4, "source": "https://www.census.gov/retail/index.html" }

無需輸入參數。

macro_housing

US Housing Starts & Permits

Latest U.S. new residential construction: housing starts and building permits, seasonally-adjusted annualized rate. Housing starts (ground broken) and permits (approved but not necessarily started, a leading indicator) are the two headline figures from the Census Bureau's New Residential Construction survey, reported at a seasonally-adjusted annualized rate in thousands of units. When to use: gauging housing-market momentum, a leading indicator for construction activity (permits lead starts), macro context for rate-sensitive sectors. When NOT to use: you need single-family vs multi-family breakdown, regional detail, or completions data. Args: none. Returns structuredContent: { "asOf": "2026-06", "startsThousands": 1427, "permitsThousands": 1380, "startsMomPercent": 19.0, "permitsMomPercent": 2.1, "source": "https://www.census.gov/construction/nrc/index.html" } Figures are in thousands of units at a seasonally-adjusted annual rate (SAAR), the standard convention for this release.

無需輸入參數。

macro_energy

US Energy Markets (Crude & Natural Gas)

Latest U.S. energy market data from the Energy Information Administration: WTI crude price, crude oil inventories, and natural gas storage. Combines three EIA series that usually require separate lookups: the WTI Cushing spot price, weekly U.S. crude oil ending stocks (with week-over-week percent change), and weekly natural gas underground storage (with week-over-week percent change). When to use: energy-sector context, inflation pass-through analysis (energy prices feed CPI/PCE), trading around the weekly EIA inventory releases. When NOT to use: you need regional/PADD-level breakdowns, refined product prices (gasoline, diesel), or non-U.S. energy data. Args: none. Returns structuredContent: { "asOf": "2026-08-07", "wtiSpotUsdPerBbl": 84.77, "crudeStocksThousandBbl": 420000, "crudeStocksWowPercent": -1.2, "naturalGasStorageBcf": 3100, "naturalGasStorageWowPercent": 0.8, "source": "https://www.eia.gov/petroleum/" }

無需輸入參數。

macro_release_calendar

US Economic Release Calendar

Upcoming U.S. economic data releases, with dates and times, from the official BLS news-release schedule. Answers "what macro data drops next, and when" without scraping a web page. Covers the BLS release set that moves markets: CPI, PPI, the Employment Situation (nonfarm payrolls and unemployment), JOLTS, Employment Cost Index, real earnings and productivity. When to use: planning around data risk, checking whether a print lands before a decision, or building a watchlist of upcoming events. When NOT to use: you need the released VALUES (use bls_cpi for CPI), Fed/FOMC meeting dates, or non-U.S. statistical calendars. Args: - limit (integer, optional, default 10): maximum releases to return (1-100), soonest first. - filter (string, optional): case-insensitive substring match on the release title, e.g. "CPI". Returns structuredContent: { "asOf": "2026-08-14", "count": 1, "releases": [ { "date": "2026-09-10", "datetime": "2026-09-10T12:30:00Z", "title": "Consumer Price Index", "source": "BLS" } ], "source": "https://www.bls.gov/schedule/" } Only releases on or after today are returned, soonest first.

輸入參數limitfilter

edgar_insider_transactions

SEC Insider Transactions (Form 4)

Insider buying and selling for a U.S. public company, parsed from SEC Form 4 filings. Form 4 is published as raw ownership XML, one document per filing, with the machine-readable file hidden behind an XSL-rendered URL. This resolves the ticker to a CIK, finds the most recent filings, fetches each XML document, and returns clean transactions: who traded, their role, the date, the SEC transaction code with its plain-English meaning, share count, price, computed dollar value, and shares held afterwards. When to use: tracking insider sentiment, checking whether executives are buying or selling, auditing recent officer and director activity. When NOT to use: you need institutional holdings (that is Form 13F), or derivative/option detail (only non-derivative transactions are returned), or non-U.S. issuers. Args: - ticker (string, required): a ticker such as "AAPL", or a bare CIK such as "320193". - limit (integer, optional, default 5): how many recent filings to parse (1-20). - forms (string[], optional, default ["4"]): which ownership forms to include ("3", "4", "5"). Returns structuredContent: { "cik": "0000320193", "issuer": "Apple Inc.", "ticker": "AAPL", "count": 1, "filings": [{ "filedAt": "2026-08-13", "owner": "Newstead Jennifer", "ownerTitle": "SVP, GC and Secretary", "isOfficer": true, "isDirector": false, "transactions": [{ "date": "2026-08-11", "code": "S", "codeMeaning": "Open-market or private sale", "acquiredDisposed": "D", "shares": 1439, "pricePerShare": 307.75, "value": 442852.25, "sharesOwnedAfter": 40107 }], "documentUrl": "https://www.sec.gov/Archives/..." }], "source": "https://www.sec.gov/edgar" } An individual filing that cannot be parsed is skipped rather than failing the call. If nothing at all is parseable the call errors and is not billed.

輸入參數formslimitticker必填

edgar_financials

SEC Company Financials (XBRL)

Key financials for a U.S. public company, pulled from SEC XBRL company facts. Returns revenue, net income, diluted EPS, total assets, total liabilities, shareholders' equity and cash, each with the most recent ANNUAL and QUARTERLY figure, the period covered, and the form it came from. Handles two things that trip up naive XBRL queries: filers migrated from the "Revenues" tag to "RevenueFromContractWithCustomerExcludingAssessedTax" under ASC 606, so each concept tries several tags in order; and the SEC repeats facts across filings with differing period lengths, so observations are classified as annual or quarterly by their actual duration rather than by trusting the fiscal-period label. When to use: fundamentals for valuation or screening, checking latest reported revenue or EPS, pulling balance-sheet lines. When NOT to use: you need full statements line by line, segment detail, non-GAAP measures, or analyst estimates. Args: - ticker (string, required): a ticker such as "AAPL", or a bare CIK such as "320193". Returns structuredContent: { "cik": "0000320193", "entity": "Apple Inc.", "ticker": "AAPL", "concepts": { "revenue": { "label": "Revenue", "tag": "RevenueFromContractWithCustomerExcludingAssessedTax", "annual": { "end": "2025-09-27", "start": "2024-09-29", "value": 416000000000, "unit": "USD", "fiscalYear": 2025, "fiscalPeriod": "FY", "form": "10-K" }, "quarterly": { "end": "2026-06-27", "value": 94000000000, "unit": "USD", "form": "10-Q" } }, "netIncome": {}, "epsDiluted": {}, "assets": {} }, "source": "https://www.sec.gov/edgar" } A concept the filer does not report comes back with tag null and both periods null, rather than a fabricated zero.

輸入參數ticker必填

edgar_13f_holdings

SEC 13F Institutional Holdings

Institutional stock holdings for a fund manager, from its latest SEC Form 13F. 13F filings split the actual holdings into a separate "information table" XML document that the filing index does not point at directly; this locates it, parses every position, and rolls up lots reported separately (different share classes, put/call splits) into one row per issuer. When to use: seeing what a fund or institution holds and how much, tracking "smart money" positioning, portfolio research. When NOT to use: real-time positions (13F is filed up to 45 days after quarter end, so this is always historical), short positions (13F does not require disclosing shorts), or non-U.S. filers. Args: - ticker (string, required): the FILER's ticker (if it has one) or its SEC CIK, e.g. "1067983" for Berkshire Hathaway. - limit (integer, optional, default 25): maximum holdings to return, largest by value first (1-200). Returns structuredContent: { "cik": "0001067983", "filer": "BERKSHIRE HATHAWAY INC", "periodOfReport": "2026-06-30", "filedAt": "2026-08-14", "totalPositions": 45, "totalValueUsd": 293000000000, "holdings": [ { "issuer": "ALLY FINL INC", "cusip": "02005N100", "valueUsd": 900335661000, "shares": 19593812, "lots": 3 } ], "source": "https://www.sec.gov/edgar" } Reports the most recently FILED 13F-HR. Values are whole USD, taken directly from the filing.

輸入參數limitticker必填

edgar_filings_feed

SEC Filings Feed

Recent SEC filings for a company, newest first, with 8-K item codes translated to plain English. A general-purpose filings feed: any form type, or a specific set (8-K for material events, 10-K/10-Q for periodic reports, S-1 for new-issue prospectuses, SC 13D/13G for activist and passive stakes). 8-K filings include their item numbers (e.g. "5.02") decoded into a label ("Departure/appointment of directors or officers") rather than leaving you to look up the code. When to use: monitoring a company's material-event stream, building a filings watchlist, or finding a specific filing type. When NOT to use: you need the parsed FINANCIAL content of a filing (use edgar_financials) or insider trades (use edgar_insider_transactions). Args: - ticker (string, required): a ticker such as "AAPL", or a bare CIK such as "320193". - forms (string[], optional): filter to specific form types, e.g. ["8-K"] or ["10-K","10-Q"]. Omit for all forms. - limit (integer, optional, default 20): maximum filings to return (1-100). Returns structuredContent: { "cik": "0000320193", "entity": "Apple Inc.", "ticker": "AAPL", "count": 1, "filings": [{ "form": "8-K", "filedAt": "2026-08-01", "reportDate": "2026-07-31", "items": [{ "code": "2.02", "label": "Results of operations and financial condition" }], "documentUrl": "https://www.sec.gov/Archives/..." }], "source": "https://www.sec.gov/edgar" }

輸入參數formslimitticker必填

onchain_token_balances

On-chain Token Balances (bulk)

Read an ERC-20 token balance for up to 500 wallet addresses in a SINGLE call. Doing this yourself means issuing hundreds of eth_call requests, batching them, handling per-provider rate limits and partial failures, then scaling raw integers by token decimals. This does all of that and returns clean, ready-to-use numbers plus the block height the snapshot was taken at. Supported chains: base (default), ethereum, optimism, arbitrum, polygon. Defaults to canonical USDC on the selected chain when no token is given. When to use: portfolio or treasury roll-ups, airdrop and eligibility checks, holder analysis, reconciling a list of wallets. When NOT to use: you need native ETH balances (this reads ERC-20 contracts) or balances at a historical block. Args: - addresses (string[], required): 1-500 EVM addresses. Duplicates removed, order preserved. - chain (string, optional, default "base"): base | ethereum | optimism | arbitrum | polygon. - token (string, optional): ERC-20 contract address. Defaults to USDC on the chosen chain. Returns structuredContent: { "chain": "base", "chainId": 8453, "blockNumber": 34567890, "token": { "address": "0x8335...", "symbol": "USDC", "decimals": 6 }, "requested": 3, "queried": 3, "failed": 0, "totalBalance": "1234.56", "holders": [ { "address": "0x...", "raw": "1234560000", "balance": "1234.56" } ] } A read that fails at the provider returns null for that address rather than a misleading 0, and "failed" counts them. If every read fails the call errors and is not billed.

輸入參數chaintokenaddresses必填

onchain_portfolio

On-chain Portfolio (USD-valued)

USD-valued portfolio for a wallet on Base, priced from Chainlink on-chain oracles. Reads the wallet's native ETH plus major ERC-20 balances, reads each asset's Chainlink USD aggregator directly on-chain, and returns holdings with per-asset prices and dollar values, sorted largest first, stamped with the block height. Prices come from Chainlink contracts rather than a price API, so there is no vendor key, no rate limit, and no third-party terms attached to the result. Covered assets: ETH (native), WETH, USDC, cbBTC. Zero-balance assets are listed in "emptyAssets" rather than cluttering holdings. When to use: valuing a wallet, treasury reporting, checking what an address actually holds in dollar terms. When NOT to use: you need an exhaustive scan of every token a wallet has ever received (this checks a curated major-asset set, not an indexer), LP or staked positions, NFTs, or chains other than Base. Args: - address (string, required): the wallet address to value. Returns structuredContent: { "address": "0x...", "chain": "base", "chainId": 8453, "blockNumber": 49976942, "holdings": [ { "symbol": "ETH", "kind": "native", "address": null, "raw": "1500000000000000000", "balance": "1.5", "priceUsd": 3120.44, "valueUsd": 4680.66 } ], "totalValueUsd": 4680.66, "emptyAssets": ["cbBTC"], "priceSource": "Chainlink on-chain price feeds (Base)" } If every balance read fails the call errors and is not billed; a genuinely empty wallet returns an empty holdings list with totalValueUsd 0.

輸入參數address必填

onchain_cross_chain_balances

Cross-chain Token Balance

The same token's balance for one address across multiple EVM chains, in a single call. USDC (and similar assets) has a DIFFERENT contract address on every chain; checking a wallet's total position means resolving each chain's canonical address and querying it separately. This does that and sums the total, so a multi-chain treasury view does not require N separate calls. Supported chains: base, ethereum, optimism, arbitrum, polygon. Supported tokens: USDC (more may be added over time). When to use: totaling a stablecoin position spread across chains, treasury reporting for a multi-chain operation, checking where a wallet's funds actually sit. When NOT to use: you only care about one chain (use onchain_token_balances, which is cheaper), or a token not in the supported set. Args: - address (string, required): the wallet address to check. - token (string, optional, default "USDC"): which token to check across chains. - chains (string[], optional): which chains to include. Defaults to all five supported chains. Returns structuredContent: { "address": "0x...", "token": { "symbol": "USDC", "decimals": 6 }, "totalBalance": "1234.56", "chains": [ { "chain": "base", "chainId": 8453, "raw": "1000000000", "balance": "1000", "failed": false }, { "chain": "ethereum", "chainId": 1, "raw": "234560000", "balance": "234.56", "failed": false } ] } A chain that could not be read reports failed: true with null balances rather than a misleading 0; if every chain fails the call errors and is not billed.

輸入參數tokenchainsaddress必填

onchain_oracle_price

Chainlink Oracle Price

Read any Chainlink price feed directly on-chain — a named pair or a raw feed address. Calls latestRoundData on the feed contract itself, so there is no price-API vendor, no rate limit, and no key. Includes the feed's last-updated timestamp and its age in seconds, so you can judge staleness yourself rather than trusting an unlabeled number. Known named pairs on Base: ETH/USD, BTC/USD, USDC/USD. Any other feed address on any supported chain also works. When to use: getting a specific asset's price without depending on a centralized price API, verifying a feed is fresh before using it, cross-checking a price from another source. When NOT to use: you need a token that has no Chainlink feed (use onchain_portfolio's covered set, or a DEX quote instead), or historical/point-in-time prices. Args: - pair (string, required): a named pair (e.g. "ETH/USD") or a raw feed contract address (0x...). - chain (string, optional, default "base"): base | ethereum | optimism | arbitrum | polygon. Returns structuredContent: { "chain": "base", "feed": "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70", "pair": "ETH/USD", "price": 1877.86, "decimals": 8, "updatedAt": "2026-08-14T12:00:00.000Z", "ageSeconds": 120, "source": "Chainlink on-chain price feed" }

輸入參數pair必填chain

onchain_gas

Multi-chain Gas Price

Current gas price across multiple EVM chains in a single call. Reads eth_gasPrice on every requested chain in parallel and returns gwei, so you do not have to query each chain's RPC separately and convert units yourself. Supported chains: base, ethereum, optimism, arbitrum, polygon. When to use: choosing the cheapest chain to transact on right now, cost estimation before submitting a transaction, monitoring for a low-gas window. When NOT to use: you need an EIP-1559 fee breakdown (base fee vs priority fee) rather than a single legacy gas price, or historical gas data. Args: - chains (string[], optional): which chains to check. Defaults to all five supported chains. Returns structuredContent: { "chains": [ { "chain": "base", "chainId": 8453, "gasPriceGwei": 0.006 }, { "chain": "ethereum", "chainId": 1, "gasPriceGwei": 0.0986 }, { "chain": "polygon", "chainId": 137, "gasPriceGwei": 278.97 } ], "source": "Live RPC eth_gasPrice, each chain's public network" } A chain whose RPC could not be reached returns gasPriceGwei null rather than a stale or fabricated value; if every requested chain fails the call errors and is not billed.

輸入參數chains

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Agentfund 整合