┌──┐ │MD│ │$$│ └──┘
Live Market Data Feed
SERVER URL
http://localhost:3000/api/mcp-server/market-data-streamCONNECTION JSON
{
"mcpServers": {
"market-data-stream": {
"command": "npx",
"args": [
"mcp-remote@latest",
"http://localhost:3000/api/mcp-server/market-data-stream"
]
}
}
}Learn more about supported MCP clients
MCP HOST CONNECTIONS
Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.
╔═══╗ ║ ▸ ║ ║ │ ║ ╚═══╝
┌───┐ │ C │ │ L │ └───┘
DESCRIPTION
WebSocket streaming of real-time market data for crypto and stocks. Pay per minute of streaming with x402. Includes order book depth, trades, candles, and custom indicators.
AVAILABLE TOOLS
x402_stream_balance
Check streaming credits and auto-renew status
subscribe_ticker
Subscribe to real-time ticker (charges via x402)
subscribe_orderbook
Subscribe to order book updates (charges via x402)
get_historical_data
Fetch historical data (one-time x402 payment)
CODE EXAMPLES
// Market Data Stream with x402
import { Client } from '@modelcontextprotocol/sdk';
const client = new Client();
await client.connect('https://market-data.x402.app/mcp');
// Subscribe to real-time data (auto-pays per minute)
const stream = await client.callTool({
name: 'subscribe_ticker',
arguments: {
symbols: ['SOL/USD', 'BTC/USD'],
wallet: 'YourWallet...'
}
});Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol
Installation:
npm install @modelcontextprotocol/sdk
Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions