- Language
- JavaScript
- Last commit
- 55m ago
- Forks
- 0
- Open issues
- 0
- Registry update
- Oct 16, 2026
Connect
npm$claude mcp add dfmi-market \ -e DFMI_BUYER_PRIVATE_KEY=<dfmi-buyer-private-key> \ -e DFMI_MAX_PRICE=<dfmi-max-price> \ -e DFMI_SESSION_BUDGET=<dfmi-session-budget> \ -e DFMI_ALLOW_MAINNET=<dfmi-allow-mainnet> \ -- npx -y [email protected]
Environment variables
DFMI_BUYER_PRIVATE_KEYsecretOptional throwaway buyer key. If unset, dfmi_create_wallet makes one in ~/.dfmi.
DFMI_MAX_PRICEHard cap per purchase (default 0.10).
DFMI_SESSION_BUDGETTotal spend cap per server run (default 1.00).
DFMI_ALLOW_MAINNETSet to 1 to allow mainnet payments. Off by default.
Security review
Review passedReviewed 10m ago.
- metadata
- scanned
- packages
- 1 checked
No findings.
Tools
This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.
dfmi-market-mcp
MCP server for the dfmi x402 agent market. Plug it into Claude, Cursor, Codex or any MCP client and the agent can browse services, get quotes, get free test funds and buy — with hard spend limits enforced in code.
| Tool | What it does | Pays? |
|---|---|---|
dfmi_list_services | Ranked catalog from bazaar.dfmi.app (price, score, unique buyers) | no |
dfmi_quote | Ask any x402 endpoint for its price, without signing | no |
dfmi_wallet | Buyer address, dUSD balance, limits left | no |
dfmi_create_wallet | Create a throwaway buyer wallet in ~/.dfmi/ (0600) | no |
dfmi_claim_faucet | 10 free dUSD, once per address | no |
dfmi_buy | 402 → EIP-3009 signature → paid retry → goods + settlement receipt | yes |
Install
Claude Code:
claude mcp add dfmi -- npx -y dfmi-market-mcp
Claude Desktop / Cursor (mcpServers):
{ "dfmi": { "command": "npx", "args": ["-y", "dfmi-market-mcp"] } }
Then ask: "Find a market report on dfmi, check the price, and buy it."
Limits (code, not prompt)
| Env | Default | Meaning |
|---|---|---|
DFMI_MAX_PRICE | 0.10 | Max per purchase. The model may lower it per call, never raise it. |
DFMI_SESSION_BUDGET | 1.00 | Total spend for one server run. |
DFMI_ALLOW_MAINNET | off | Testnets only (dfmi dUSD, Base Sepolia USDC) unless set to 1. |
DFMI_BUYER_PRIVATE_KEY | — | Use your own throwaway key instead of ~/.dfmi/buyer-wallet.json. |
dUSD is a test unit with no monetary value. Use a throwaway wallet only.
Develop
npm install
npm test
Publish (operator)
- Move this folder into
dfmi-app/dfmi-appasmarket-mcp/(matchesserver.json→repository.subfolder). npm publish(package namedfmi-market-mcpwas free on 2026-10-15;mcpNamein package.json must matchserver.jsonname).- Publish to the official MCP Registry:
mcp-publisher login github(as thedfmi-apporg), thenmcp-publisher publish.
From the server's repository — third-party content, read it before running anything it suggests.
More in Commerce
Deer Supply
supply.deer
Deer Supply (Canada): GLP weight-loss pens, live prices and delivery; sign in for orders and health.
SI Stores
si.shopfashion
Fashion and gift concierge: size guide, AI try-on previews, dress search, gift baskets, scarves.
HLN Apparel — clothing manufacturer
com.hlnapparel
China clothing factory: categories, MOQ, lead times, US HS duty, GSM, buyer-confirmed quote requests
Straws Soda
io.github.GriffMurder
Public read-only MCP for strawssoda.com: menu, hours, and order or contact links.
Pulse Verity
io.github.PulseBet
Signed crypto prices, built for AI agents: multi-exchange prices anyone can verify offline.
dealflowpro
io.github.jbechtel-97
Multifamily real estate deal analysis — cap rate, DSCR, IRR, DFP Score, max offer price
Listing from the official MCP Registry · repository facts from GitHub, 13m ago.