
Dex Data
com.donnyautomation由 donnyautomation.com 發布v1.7.0更新於 Nov 5, 2026
DEX market data, SEC EDGAR change oracles, LEI and US Treasury curve. 13 tools, x402 paid.
概覽
本機 MCP 伺服器,讓助理取得即時 DEX 行情、Uniswap v4 Hook 風險、GLEIF/OFAC 實體查核、SEC EDGAR 增量資料與美國公債殖利率曲線,每天前 25 次呼叫免費。
- 可以做什麼
- 依鏈查詢 DEX 狀態:Base 流動性與 TVL、Polygon 代幣價格、Avalanche 池儲備,以及 Polygon 與 Avalanche 的跨場所套利掃描。
- 檢查 Uniswap v4 Hook 的權限位元、託管類別與原始碼共識。
- 依名稱查詢 GLEIF 法人實體,並取得合併 OFAC 篩查與 SEC 註冊資訊的公司檔案。
- 依指定日期取得 SEC EDGAR 增量:申報文件、依項目代碼解碼的 8-K 重大事件、內部人與持股變動表單。
- 讀取 1 個月至 30 年的美國公債平價殖利率曲線。
- 用免費的本機工具查看本次工作階段的花費與生效的各項上限。
- 適用情境
- 適合助理需要最新鏈上市場狀態、套利價差,或公司與發行人的監理及申報資料,且不想設定 API 金鑰或帳號的情境。每日免費額度可涵蓋輕量、偶發的查詢;使用頻繁則需按次付費。
- 執行需求
- 以 stdio 在本機執行,需要 Node 18 或更新版本,透過 npx 從 npm 套件安裝。免費額度不需帳號、API 金鑰或錢包。每天超過 25 次呼叫後需設定 DEX_WALLET_KEY(持有 Base 上 USDC 的 EVM 私鑰)並安裝選用付款套件,同時需要連線至閘道的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Dex Data,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
dex-data MCP server
For an agent
Everything you need to decide whether to call this server, and what it will cost, is in this section. Read no further unless a human is asking.
Install
Or, for any MCP host that reads a JSON config:
Cost model
The first 25 calls each day are free on every tool. No wallet, no signup, no API key, no account. The free answer is the full answer — nothing is stubbed, truncated or degraded. What the free tier limits is how many calls you make, not what is in them.
After 25 calls in a day, a tool returns a payment challenge instead of an answer. If — and only if — a wallet is configured, this server settles that challenge in USDC on Base and returns the answer. With no wallet it tells you the price and spends nothing.
Environment
The default ceiling is $0.05, which is exactly the dearest tool here. Lower it
below that and the $0.05 tools stop working — deliberately, and they say so.
The cap, and what "fails closed" means
Every paid call passes the same four gates, in this order, and any one of them refuses without paying:
- No wallet → never pays. This is the state you are in unless someone set a key.
- Price unreadable → refuses. A challenge whose amount cannot be parsed is not treated as free or as cheap; it is treated as unknown, and unknown does not get paid.
- Price above
DEX_MAX_PRICE_USD→ refuses, and names the price and the cap. - Would cross
DEX_MAX_SPEND_USDorDEX_MAX_CALLS→ refuses.
Accounting is in integer micro-USD, so a $1.00 budget at $0.05 a call buys
exactly 20 calls and not 19 — floating-point drift cannot quietly close the
budget early.
Call get_spend_budget before any loop over paid tools. It is free, local
and makes no network call, and it returns what has been spent and every cap in
force.
Tools
Thirteen tools. Twelve fetch from the gateway; one is local. Each of the twelve targets exactly one route, and together they are exactly the routes the storefront lists — there is no hidden catalogue and no tool pointing at something that was withdrawn.
Prices are USDC on Base (eip155:8453) and are read from the gateway's own
x-payment-info, not kept in step by hand.
Three things that will save you a wasted call
- The three
get_sec_*tools return DELTAS, not dumps.sinceis required and inclusive. Pass the date you last read; you get what has landed since. They reportmatchedandtruncated, so a cut-off delta is never mistaken for a complete one. - Missing arguments are refused here, not upstream. A call with a required
argument absent or empty is stopped before any request is made, and says
Nothing was requested and nothing was spent. It does not become?symbol=undefinedand it does not cost you a call. get_v4_hook_risknever outputs SAFE. It is capability analysis: it tells you what a hook is able to do to your trade, not whether its author intends to. TreatOPAQUEas unresolved, not as clean.
For a human
What this is
Thirteen MCP tools over live on-chain and regulatory data: DEX market state on Base, Polygon and Avalanche, Uniswap v4 hook security, GLEIF legal-entity lookup, OFAC-screened counterparty dossiers, SEC EDGAR change oracles and the US Treasury yield curve.
Zero dependencies, stdio, Node 18+. The payment packages are optional and are only loaded if a wallet is configured.
Why the tool list shrank in 1.7.0
1.6.1 shipped 23 tools. This release ships 13, and the nine-tool difference is the point.
The gateway behind this server sold 62 priced routes, and this package carried a tool for most of them — including geocoding, weather, web search, public holidays, RSS and IP lookup. Then the demand was measured across the whole recorded history of the storefront: 12 routes have either organic buyers or no substitute anywhere in the catalogue. The other 50 had between zero and two calls each, every one of them from a single wallet. On 2026-09-16 the storefront was cut to those 12, and this release follows it.
A tool list is not free. It is loaded into the model's context in every session, whether or not a single tool is called, and a tool that advertises a shelf the storefront no longer stocks costs the agent a turn to discover the gap. Removing nine tools makes the list shorter and every entry in it true.
The 50 dropped routes still work. They are served, priced and payable by anyone holding the URL. Removing a tool withdrew a recommendation, not a product.
Three of the nine went for a second, independent reason: the upstreams behind
geocode, reverse_geocode and get_weather retire on 2026-09-27. A tool that
will 404 in eleven days should not ship in a release today.
Upgrading from 1.6.x
Breaking, and deliberately so:
- No tool takes a
chainargument any more. Each tool targets one chain's route and writes the whole path itself. Sendingchainis now an error rather than being silently ignored — ignoring it would have sent a Polygon question to a Base route and charged for the answer. - These tools are gone, with the routes they used to call, which are all still
live:
get_token_price(/price),get_liquidity(/liquidity),get_pool_reserves(/reserves),find_arbitrage(/scan),get_best_venue(/route),get_slippage(/slippage),get_liquidity_risk(/risk),geocode,reverse_geocode,get_weather,search,get_search_suggestions,get_holidays,read_feed,get_random,url_to_markdown,geolocate_ip,get_gas,list_chainsandget_dex_spread(/call). - Chain-specific replacements exist for the routes the storefront kept:
get_base_liquidity,get_polygon_token_price,get_avalanche_pool_reserves,find_polygon_arbitrage,find_avalanche_arbitrage. - New:
get_v4_hook_risk,get_company_dossier,get_sec_filings,get_sec_events,get_sec_insiders. lookup_lei,get_treasury_yield_curveandget_spend_budgetare unchanged.
If you were calling a removed tool, the route behind it still answers. Call it
directly, at list price, at https://x402.donnyautomation.com.
Paying
Set DEX_WALLET_KEY to an EVM private key holding USDC on Base, and install the
optional payment packages:
Without both, this server cannot spend anything: it returns the price and the payment instructions and stops. With them, it pays only what the caps in the agent section above allow.
- Fund it with USDC on Base and nothing else. x402's
exactscheme is EIP-3009: you sign an off-chain authorization and the facilitator broadcasts and pays the gas, so the wallet needs zero ETH. - Use a burner. The key sits in your MCP client config in plaintext. A few dollars of USDC, never a main wallet.
- Spend is capped and fails closed —
DEX_MAX_SPEND_USD(default $1 total for the process),DEX_MAX_PRICE_USD(default $0.05 for any single call) andDEX_MAX_CALLS(default 200). Hitting any one stops payment and returns a plain explanation rather than continuing to spend. The asking price is read from the 402 challenge and refused before paying if it exceeds the ceiling. A cap that cannot be parsed (DEX_MAX_SPEND_USD=1,00) now refuses to start rather than silently evaluating toNaN, which switched every cap off. get_spend_budgetreports what this session has spent and the caps in force.- Since 1.7.0 the caps, the integer accounting and the receipts log live in
x402-budget, a standalone package in this repo that holds no wallet.pay.mjsis the adapter that reads theDEX_*variables and supplies the signing function. Behaviour is unchanged.
Use a wallet you funded for this and nothing else. This server holds no custody, takes no fee and sends nothing anywhere except the payment the challenge asks for — but the key is yours to scope.
Development
The five no-network suites run in CI on every push and pull request. The coverage check runs at release, because it is the only one that needs the gateway to be up.
test/fixtures/challenge-402.json is a verbatim recording of the live gateway's
402 challenge for each of the twelve routes. Re-record it if prices change; the
suites assert that each tool's description quotes the same price the challenge
asks for.
Links
- Gateway and full API: https://x402.donnyautomation.com
- Source: https://github.com/donnywin85/dex-data-mcp
- MIT licensed.
來源:README.md,提交 189c86e
工具
0版本歷史
1- v1.7.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分