smarts.md
defi-io/smartcontractLive docs for every verified smart contract. Point your AI at smarts.md: https://mcp.smarts.md
Score: 100/100
Handshake verified by our own probe.
Tools · 20
Find every Uniswap V3 pool for a token pair on a chain, one per fee tier (0.01%, 0.05%, 0.3%, 1%), via the canonical Factory's getPool. Returns each pool's address, fee, active liquidity, tick and spo…
Get metadata about a verified smart contract: name, compiler, classification, supported adapters, and counts of functions and events. Accepts either a curated slug (uni-eth, usdc-base, …) or chain+add…
Fetch the verified Solidity source for an indexed contract. Three modes by argument: no `file`/`search` returns a file index; `file:` returns one file's content; `search:` greps across all files (case…
Get the current admin / risk profile for a verified contract: detected privileged controls, current control values, evidence, warnings, and freshness metadata. Accepts either a curated slug or chain+a…
Get live state of the Aave V3 core lending market on a chain: per-asset supply/borrow APY, total supplied and borrowed (token units and USD via DefiLlama), utilization, LTV, liquidation threshold/bonu…
Get live state of an ERC-20 token: supply (raw + human-formatted), price, market cap, and issuer. For admin / privilege controls (paused, owner, mintable, upgradeable, etc.) use get_admin_risk — those…
Get Polymarket market metadata and on-chain resolution state by slug or condition_id. Includes outcome token IDs, derived CTF position IDs, prices when present, payouts, and links.
Get a wallet's Polymarket CTF outcome-token balances for up to 10 explicit markets. Input an address plus condition_ids and/or slugs.
Audit a Polymarket market resolution by slug or condition_id. Reads CTF payout state on-chain, includes Gamma market status and outcome token IDs, and flags whether API-level closed status agrees with…
Get a DeFi protocol's TVL from DefiLlama: total TVL in USD, 1-day and 7-day change, category, borrowed amount for lending protocols, and per-chain TVL. Match by DefiLlama slug (e.g. 'aave-v3', 'uniswa…
List the most recent events emitted by a contract, decoded against its ABI. Returns up to `limit` events (default 20, max 100), newest first. Pass `event_name` to filter to a single event signature (e…
Get a stablecoin's circulating supply from DefiLlama: total circulating, 1-day and 7-day change, peg type and mechanism, current price, and the per-chain breakdown. Pass `chain` to also get that chain…
Get live state of a Uniswap V3 pool: token pair, fee tier, current price (both directions), active liquidity, current tick, and TVL in USD (via DefiLlama token prices). Accepts slug or chain+address.
Find yield pools from DefiLlama on the chains Smarts supports (eth, base, arbitrum, optimism, bnb, polygon, robinhood, arc). Filter by project (DefiLlama slug, e.g. 'aave-v3', 'morpho-blue'), chain, t…
Inspect any EVM address: classifies it as an EOA / unverified contract / EIP-7702 delegated wallet, returns native-token balance, outgoing tx count (nonce), and reverse-ENS name (Ethereum only). Works…
List multilingual article drafts under docs/drafts, including slug, category, locales, and validation errors. Requires the MCP connection to carry an Authorization: Bearer <publish_token> header.
Publish a multilingual article into Smarts article pages. Pass meta (category/subcategory/title/summary) and content (locale -> markdown body) inline; falls back to docs/drafts/:slug on the server if …
Quote an exact-input swap on Uniswap V3 via the canonical QuoterV2: how much token_out you get for amount_in of token_in in each fee-tier pool (or one tier with `fee`), the execution price, spot price…
Validate one multilingual article draft without publishing it. Pass meta and content inline to validate a local draft; omit both to read docs/drafts/:slug on the server. Requires the MCP connection to…
Read the current on-chain value of a view/pure function. Fetches from the chain (cached 60s) and returns the decoded output. Accepts slug or chain+address.
How to use
Claude Desktop or claude.ai: add a custom connector (Customize → Connectors; on Team and Enterprise plans an owner adds it under Organization settings → Connectors) with this server URL: https://smarts.md/mcp
Cursor or Cline: add to your MCP config:
{
"mcpServers": {
"smarts.md": {
"url": "https://smarts.md/mcp",
"transport": "http"
}
}
}