Skip to main content
FO

Foxbit

v0.2.1API Key

Second-largest BR crypto exchange. Complements Mercado Bitcoin for hedging + liquidity. HMAC-SHA256 signed requests — signature + all endpoints verified against docs.foxbit.com.br.

21 tools2 env vars🇧🇷 Brazilstable on npm

What your agent can do

Foxbit gives your agent 21 tools it calls directly — pick the ones it needs, in Claude, Cursor, or any MCP client.

  • list_marketsList all available trading pairs / markets on Foxbit
  • list_currenciesList all supported currencies (crypto and fiat) on Foxbit
  • get_currencyGet details of a specific currency (precision, min/max amounts, type)
Example call
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("list_markets", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-foxbit

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "foxbit": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-foxbit"
      ],
      "env": {
        "FOXBIT_API_KEY": "<your_foxbit_api_key>",
        "FOXBIT_API_SECRET": "<your_foxbit_api_secret>"
      }
    }
  }
}

After restart, your agent can call any of the 21 tools below — try list_markets first.

Environment variables · 2

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

FOXBIT_API_KEY
requiredsecret

API key for Foxbit

FOXBIT_API_SECRET
requiredsecret

API secret for Foxbit HMAC-SHA256 signature

Available tools · 21

Each tool is independent — your agent loads only what it needs to reduce context and response time.

READlist_markets
List all available trading pairs / markets on Foxbit
READlist_currencies
List all supported currencies (crypto and fiat) on Foxbit
READget_currency
Get details of a specific currency (precision, min/max amounts, type)
READget_ticker
Get 24h ticker data for a market (price, volume, high/low)
READget_orderbook
Get order book (bids and asks) for a market
READget_market_trades
Get recent public trades for a market (trade history / tape)
READget_candles
Get OHLC candlestick data for a market
READget_account_balances
Get account balances for all currencies

Compatible frameworks

MCP is a protocol — any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-foxbit` and add the config block above to your MCP client — Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Foxbit — MCP server · 21 tools | CodeSpar