Integrations
Drop AMR into the stack you already run
Agent Margin Router is one HTTP API with 50 data endpoints. Connect it to your MCP client, your n8n workflows, your Open WebUI, LangChain or raw code — whatever your agents already speak. You keep hosting your side; every call is metered per request, three free per wallet.
You host it, you own it
AMR plugs into the n8n, Open WebUI or agent runtime you already run. Nothing to deploy on our side, no infrastructure to manage on yours.
Three calls free per wallet
Every integration starts on the free tier — no signup, no key. Pass an EVM wallet address and make your first calls at zero cost.
One API, every framework
The same 50 endpoints show up as MCP tools, an n8n node, an OpenAPI tool server or typed SDK methods. Pick the surface your stack speaks.
Model Context Protocol
MCP server — Claude, Cursor, Cline, any MCP client
AMR ships a remote MCP server over Streamable HTTP. Point your MCP client at one URL and all paid endpoints appear as callable tools. Payment is handled inside the protocol: pass a wallet for the free tier, an API key, or a signed x402 payload to keep going.
{
"mcpServers": {
"agent-margin-router": {
"type": "streamable-http",
"url": "https://agent-margin-router-production.up.railway.app/mcp"
}
}
}Add the block to your client's MCP config (e.g. Claude Desktop's claude_desktop_config.json), restart, and the tools list themselves. Discovery manifests live at /.well-known/mcp.json.
n8n
n8n community node — add AMR to any workflow
Run your own n8n instance? Install the community node and every endpoint becomes a drag-and-drop step. No code, no custom HTTP nodes to wire up — pick the operation, pass your wallet, connect it to the rest of your flow.
n8n-nodes-agent-margin-router- 1. In n8n open Settings → Community Nodes → Install.
- 2. Paste the package name above and confirm.
- 3. Add the Agent Margin Router node to a workflow and choose an operation.
Open WebUI
Open WebUI — register AMR as an OpenAPI tool server
Open WebUI can import any OpenAPI tool server. AMR publishes a full OpenAPI schema, so your local models get live market data, on-chain lookups and web extraction as tools — without writing a single function.
https://agent-margin-router-production.up.railway.app/openapi.jsonIn Open WebUI go to Settings → Tools → Add Tool Server, paste the URL above, and add X-WALLET as a header for the free tier. The endpoints appear as tools your models can call.
LangChain
LangChain toolkit — typed tools for your agents
Building with LangChain? The dedicated package turns every endpoint into a LangChain tool with proper schemas, ready to hand to any agent executor.
pip install langchain-agent-margin-router
# Add all 50 endpoints as LangChain tools
from langchain_agent_margin_router import AgentMarginRouterToolkit
toolkit = AgentMarginRouterToolkit(wallet="0xYourAgentWallet")
tools = toolkit.get_tools() # hand these to any LangChain agentPython SDK
Python SDK — one typed method per endpoint
Prefer plain Python? The official SDK gives you one typed method per endpoint, a single dependency and optional auto-payment for HTTP 402 responses.
pip install agent-margin-routerAnything else
Plain HTTP — works with every language and runtime
No framework required. Every endpoint is a normal JSON POST. Send your wallet in the X-WALLET header for the free tier; when it runs out you get a standard HTTP 402 with exactly what to pay.
curl -X POST https://agent-margin-router-production.up.railway.app/token-price \
-H "X-WALLET: 0xYourAgentWallet" \
-H "Content-Type: application/json" \
-d '{"symbol":"ETH","quote":"USD"}'Pick your surface and make a free call
Same data, same price, whichever way you connect. Start on the free tier, then pay per request — no subscription, no minimum.