Flow — Base quotes & contract safety for agents
Best-execution quotes and contract safety checks on Base for AI agents, paid per call via x402.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"flow": {
"url": "https://flow-kg4x.vercel.app/api/mcp"
}
}
}Puntos de conexión remotos
https://flow-kg4x.vercel.app/api/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢flow_quote(tokenIn, tokenOut, amountIn, chainId)
Get a best-execution swap quote on Base. Compares Uniswap V3, PancakeSwap V3 and Aerodrome (plus two-hop routes via WETH), returns the winning venue, expected output, edge in bps vs the baseline, a liquidity flag (deep/watch/thin), the exact block number and timestamp, and build latency. Read-only: no funds move.
Esquema de entrada
{
"type": "object",
"properties": {
"tokenIn": {
"type": "string",
"description": "Input token contract address on Base (e.g. USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA4E46E)"
},
"tokenOut": {
"type": "string",
"description": "Output token contract address on Base (e.g. WETH 0x4200000000000000000000000000000000000006)"
},
"amountIn": {
"type": "string",
"description": "Human-readable input amount, e.g. \"10\" for 10 USDC"
},
"chainId": {
"type": "number",
"description": "Chain id, defaults to 8453 (Base)"
}
},
"required": [
"tokenIn",
"tokenOut",
"amountIn"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪flow_paycheck(payee)
Before you pay this agent, check. PayCheck ($0.50 USDC via x402 on Base) runs Flow's whole checker stack on a payee in ONE call — the payee verdict (kind, on-chain activity, the full contract-safety engine when the payee is a contract), the wallet approval-exposure audit, contract safety, and the payee's recent USDC settlement history — and returns one finished grade (ALLOW / REVIEW / BLOCK with a 0-100 score), a verify_status (verified / failed / unverified_verifier_down), every check, the evidence under it, and a receipt. The guarantee: the report is produced before settlement; if it cannot be produced, the payment is never settled — no report, no charge. This hosted endpoint does not hold a wallet: an unpaid call returns the endpoint's x402 payment challenge itself, never an invented result. Pay it with any x402 client, or use the @flowexecutor/flow-mcp stdio package with an Early Builder Key.
Esquema de entrada
{
"type": "object",
"properties": {
"payee": {
"type": "string",
"description": "The payee address to grade before paying (0x…), Base"
}
},
"required": [
"payee"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢flow_search(query, maxResults)
Verified Search ($0.01 USDC via x402 on Base): web search where every result is independently checked by Flow before it reaches you — the result URL is fetched live (liveness, final HTTP status recorded) and the fetched page text is matched against the result's own title/snippet terms (content-match score). Each result carries a verify_status (verified / failed / unverified_verifier_down), its httpStatus and contentMatch, and the response carries a receipt counting checked / verified / failed. Bad results are flagged, never silently dropped. The guarantee: the search is produced before settlement; if it cannot be produced, the payment is never settled. This hosted endpoint does not hold a wallet: an unpaid call returns the endpoint's x402 payment challenge itself, never an invented result. Pay it with any x402 client, or use the @flowexecutor/flow-mcp stdio package with an Early Builder Key.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query"
},
"maxResults": {
"type": "number",
"description": "Max results to return and verify (default 5, cap 10)"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢flow_health
Check the Flow quote API health: status, chain, and latest synced block number.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia