Urgent.News

What's breaking now, across hundreds of outlets.

AI

How to Give Claude or Cursor Live Crypto Funding-Rate Data With an MCP Server

Ask an AI assistant "what is the BTC funding rate right now?" and you get one of two answers: a polite refusal, or a confident number from its training data that is weeks or months old. Funding rates change every settlement window, so neither answer is useful. The fix is not a better prompt. It is giving the assistant a tool it can call. That is exactly what the Model Context Protocol (MCP) is…

To give Claude or Cursor live crypto funding-rate data with an MCP server, you'll need to follow a few steps. First, you'll need to sign in or obtain a key for the Model Context Protocol (MCP) server. Two options are available: signing in on bykaranteli.com or using a key that starts with "bk_". The free key comes with any verified account and allows for 15,000 calls a month at a rate of 30 calls per minute.

Next, you'll need to connect your client to the server. The commands and configuration blocks are provided by the provider's connect guide. For Claude Code, hosted with sign-in, you can use the command `claude mcp add --transport http bykaranteli https://mcp.bykaranteli.com` and then authenticate by signing in on a browser window.

For a local package with a key, you'll need Node.js and can use the command `claude mcp add bykaranteli -e BYKARANTELI_API_KEY = bk_...your key... -- npx -y bykaranteli-mcp`. For Claude Desktop, you'll need to add the server in the settings and provide the key in the header. For Cursor, you can use a one-click "Add to Cursor" button on the guide page to fill in the hosted server and sign in.

Once connected, you can ask questions in plain words that map onto the available tools. For example, you can ask "Which perps have the most negative funding right now?" and the assistant will respond with the relevant data, including a provenance block that shows where the information came from. It's important to note that the tools return readings, not advice, so you should expect the assistant to state facts rather than provide forecasts.

Under the hood, the MCP server speaks Streamable HTTP transport, which is JSON-RPC 2.0 over POST. If you encounter any issues, such as a client that connects but never calls a tool, you can talk directly to the hosted MCP server using a minimal client with only the requests library in Python. This allows you to understand what the assistant is actually doing and troubleshoot any problems.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

Your AI agent needs a kill switch

If you have an LLM agent in production, here is a checklist for the day you have to turn it off: feature flag, fallback queue, circuit breaker, job in progress, exercises.

  • Design five critical elements before deploying AI agents in production.
  • Implement task and client switches for immediate agent stoppage.
  • Operational staff can activate switches in seconds, bypassing deploys.

Your AI agent needs a switch

If you have an LLM agent in production, here is a checklist for the day you will have to turn it off: feature flag, fallback queue, circuit breaker, partial work, tests.

More from Tuesday, 1 December 2026 →