Skip to main content
FO

Foxbit

v0.2.0API 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

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

All credentials are encrypted at rest in an isolated vault scoped per organization. OAuth2 tokens are automatically refreshed before expiry. Your agent code never sees raw secrets โ€” it receives scoped, short-lived session tokens.
Servers โ€” Every LatAm commerce API your agent needs | CodeSpar