Flow — Base quotes & contract safety for agents
Best-execution quotes and contract safety checks on Base for AI agents, paid per call via x402.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"flow": {
"url": "https://flow-kg4x.vercel.app/api/mcp"
}
}
}Remote endpoints
https://flow-kg4x.vercel.app/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (2)
🟢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.
Input Schema
{
"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_health
Check the Flow quote API health: status, chain, and latest synced block number.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence