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 集成