Surf MCP Server
OfficialProvides access to Binance exchange data including order book depth, klines, perpetual futures, funding history, prices, and market pairs.
Enables on-chain queries, transaction lookup, gas prices, token holder analysis, and social sentiment for Ethereum.
Provides access to OKX exchange data including order book depth, klines, perpetual futures, funding history, prices, and market pairs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Surf MCP Serverwhat's the BTC price?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
surf-mcp
MCP server for the Surf crypto data API. Dynamically generates tools from the OpenAPI spec across market data, wallets, social, on-chain queries, and more. It supports stdio for local clients and Streamable HTTP for hosted ChatGPT/Codex integrations.
Quick start
Add to your MCP client config — no clone or install needed:
{
"mcpServers": {
"surf": {
"type": "http",
"url": "https://mcp.asksurf.ai/mcp"
}
}
}To run the stdio package locally instead:
{
"mcpServers": {
"surf": {
"command": "npx",
"args": ["-y", "@surf-ai/surf-mcp"],
"env": {
"SURF_API_KEY": "your-api-key"
}
}
}
}Prerequisites
Node.js 20+ or Bun
Optional: a Surf API key (get one here) for account credits and higher limits. Without a key, Surf's anonymous per-IP allowance applies.
Config file locations
Claude Code:
.mcp.jsonin project root or~/.claude.jsonClaude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS)Cursor: MCP settings in the IDE
Related MCP server: agentpulse-mcp
Claude Code plugin
This repository is also a Claude Code marketplace. Install the Surf plugin with:
claude plugin marketplace add asksurf-ai/surf-mcp
claude plugin install surf@surfThe plugin connects to the hosted anonymous beta. Usage is limited by Surf's anonymous allowance; production deployments should use a dedicated, rate-limited service key or OAuth 2.1.
ChatGPT and Codex plugin
The repository contains a Codex/ChatGPT plugin package under plugins/surf, a Claude package under claude-plugin, and repo marketplaces for both hosts. The two thin package directories are separate because the current hosts validate different .mcp.json root shapes; both connect to the hosted MCP endpoint. Codex can add its marketplace directly:
codex plugin marketplace add asksurf-ai/surf-mcpRegister https://mcp.asksurf.ai/mcp in ChatGPT Plugins. See docs/chatgpt-plugin-submission.md for the submission checklist.
Streamable HTTP deployment
Run the hosted transport locally:
bun run start:httpThe server exposes:
POST /mcp— stateless MCP Streamable HTTP endpointGET /healthz— deployment health check
Build and run the included container:
docker build -t surf-mcp .
docker run --rm -p 3000:3000 -e SURF_API_KEY=your-service-api-key surf-mcpThe limited beta is live at https://mcp.asksurf.ai/mcp. For higher capacity, keep a dedicated, rate-limited SURF_API_KEY in the host's secret manager; never put it in plugin manifests or client-visible responses.
The included Vercel Functions adapter exposes the same endpoints from api/mcp.ts and api/healthz.ts. Deploy it to a Vercel project when a serverless beta is preferable to the container image.
Tools
The server currently exposes 15 tools, one per API domain. Each tool accepts a command and optional params; the exact commands update automatically with the Surf OpenAPI specification:
Tool | Commands | Description |
|
| DEX-pool-weighted token OHLCV data |
|
| Market overview, rankings, indicators, ETF flows |
|
| Live exchange data from Binance, OKX, Bybit, etc. |
|
| Hyperliquid trader, position, order, fill, and P&L data |
|
| Wallet balances, transfers, DeFi positions |
|
| Token holder analysis, DEX trades, unlocks |
|
| X post and author details by post ID |
|
| Project profiles, DeFi TVL/fees/revenue |
|
| Project signal scores and ranked highlights |
|
| On-chain SQL queries, tx lookup, gas prices |
|
| Unified search across all data types |
|
| Polymarket and Kalshi prediction markets |
|
| Crypto VC fund profiles and portfolios |
|
| Crypto news from major outlets |
|
| Fetch any URL as clean markdown |
Usage examples
Once configured, your AI assistant can use the tools directly:
"What's the BTC price?" → surf_market({ command: "price", params: { symbol: "BTC" } })
"Check vitalik's wallet" → surf_wallet({ command: "detail", params: { address: "vitalik.eth" } })
"Search for DeFi projects" → surf_search({ command: "project", params: { q: "defi lending" } })
"Run an on-chain SQL query" → surf_onchain({ command: "sql", params: { sql: "SELECT ..." } })
"Surf's token of the day" → surf_signal({ command: "token-of-the-day" })How it works
On startup, the server:
Fetches the OpenAPI spec from
https://api.asksurf.ai/gateway/openapi.json(cached for 24h)Groups all operations by their API tag
Registers one MCP tool per tag with auto-generated descriptions and command enums
Routes tool calls to the Surf API with native HTTP fetch and optional bearer authentication
The server automatically picks up new API endpoints when the spec is updated — just restart.
Example: AI agent
The repo includes a simple agent that connects Claude to surf-mcp tools in an agentic loop. See examples/agent.ts.
ANTHROPIC_API_KEY=your-key SURF_API_KEY=your-key bun run examples/agent.ts "What's the BTC price and fear & greed index?"Development
git clone https://github.com/asksurf-ai/surf-mcp.git
cd surf-mcp
bun install
bun run start # Run the server
bun run start:http # Run Streamable HTTP on :3000
bun run typecheck # Type checkLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA comprehensive cryptocurrency market-data MCP server with 49 tools across six data sources, enabling LLMs to answer market questions via natural language.49MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI agents with real-time, structured data feeds including news, trends, market sentiment, and crypto prices via MCP tools.MIT
- FlicenseNot gradedqualityDmaintenanceExposes Musashi market intelligence as MCP tools for clients like Claude and ChatGPT, enabling text analysis, arbitrage detection, market movers, wallet activity, and smart money tracking.
- FlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to access live crypto market data and AI-driven quantitative analysis, with structured outputs and full observability.
Related MCP Connectors
Crypto MCP with 21 tools for market data, DeFi, analytics, and sentiment. Post-paid USDC billing.
Crypto intelligence MCP for market data, DeFi, wallets, security, DEX, NFTs, and Solana.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asksurf-ai/surf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server