Foxbit

Finance and commerce

MCP server for Foxbit, Brazilian crypto exchange, trading, orderbook, institutional.

Your AI app calls the Foxbit MCP server, which does the finance and commerce work and sends the result back to the chat.

About Foxbit

Foxbit is a community MCP server from codespar, filed in our directory under finance and commerce. MCP server for Foxbit, Brazilian crypto exchange, trading, orderbook, institutional.

Foxbit runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-foxbit@0.2.2 and talks to it over standard input and output. It needs FOXBIT_API_KEY and FOXBIT_API_SECRET set before Foxbit starts.

Foxbit is listed in the official MCP registry as io.github.codespar/mcp-foxbit, version 0.2.2.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-foxbit
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-foxbit

How to set up Foxbit

  1. Install Node.js on the machine that runs your AI app, because Foxbit starts with npx and downloads its package on first run.
  2. Create FOXBIT_API_KEY and FOXBIT_API_SECRET for Foxbit in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Foxbit to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Foxbit tools to confirm the connection.
  5. Run one read-only task with Foxbit first, and keep your app asking before each tool call until the results look right.

Foxbit compared with similar servers

  • Getnet by codespar has fewer GitHub stars than Foxbit (278 against 278); both are community servers, and both run locally.
  • Focus Nfe by codespar has fewer GitHub stars than Foxbit (278 against 278); both are community servers, and both run locally.
  • Iniciador by codespar has fewer GitHub stars than Foxbit (278 against 278); both are community servers, and both run locally.

Before you connect Foxbit

  • Give Foxbit its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Foxbit tool call until you trust what it does with them.
  • Treat text that Foxbit fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Foxbit on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Foxbit

How marketing and sales teams put Foxbit to work, by company size. Pick the size closest to yours and start Foxbit on one use case.

Small business

  • A small business can ask Foxbit which products and customers drive margin, then plan promotions around them.
  • Owners can use Foxbit to check refunds, failed payments and churn reasons without opening three dashboards.
  • Foxbit runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Foxbit to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Foxbit to check spend against budget each week and move money to what's working.
  • Start Foxbit on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Foxbit read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Foxbit to answer revenue questions by channel and region with figures finance signs off on.
  • Foxbit is a community server, so have security review the code and pin a version before Foxbit touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Foxbit README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-foxbit

MCP server for Foxbit, Brazilian cryptocurrency exchange with trading, orderbook, and market data

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "foxbit": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-foxbit"],
      "env": {
        "FOXBIT_API_KEY": "your-key",
        "FOXBIT_API_SECRET": "your-secret"
      }
    }
  }
}
Claude Code
claude mcp add foxbit -- npx @codespar/mcp-foxbit
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "foxbit": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-foxbit"],
      "env": {
        "FOXBIT_API_KEY": "your-key",
        "FOXBIT_API_SECRET": "your-secret"
      }
    }
  }
}

Tools (21)

Tool Purpose
list_markets List all available trading pairs / markets on Foxbit
list_currencies List all supported currencies (crypto and fiat) on Foxbit
get_currency Get details of a specific currency (precision, min/max amounts, type)
get_ticker Get 24h ticker data for a market (price, volume, high/low)
get_orderbook Get order book (bids and asks) for a market
get_market_trades Get recent public trades for a market (trade history / tape)
get_candles Get OHLC candlestick data for a market
get_account_balances Get account balances for all currencies
get_balance Get account balance for a single currency
create_order Create a buy or sell order (limit or market)
get_order Get order details by ID
list_orders List orders with optional filters
cancel_order Cancel an open order by ID
list_trades List user's executed trades (private trade history)
list_deposits_withdrawals List deposits and withdrawals (transactions) for a currency
create_pix_deposit Create a Pix instant deposit (BRL).
list_pix_deposits List Pix deposit history (BRL instant deposits)
create_pix_withdrawal Create a Pix withdrawal (BRL) to a Pix key
list_pix_withdrawals List Pix withdrawal history (BRL fiat withdrawals)
create_crypto_withdrawal Create a crypto withdrawal to an external wallet address
get_trading_fees Get current trading fees and limits (maker/taker per pair, withdrawal limits)

Authentication

Foxbit uses HMAC-SHA256 request signing. Each request includes three headers:

  • X-FB-ACCESS-KEY, API key
  • X-FB-ACCESS-TIMESTAMP, UNIX timestamp in milliseconds
  • X-FB-ACCESS-SIGNATURE, hex HMAC-SHA256 of timestamp + method + path + queryString + body using API secret

Base URL: https://api.foxbit.com.br/rest/v3

Get your credentials
  1. Go to Foxbit
  2. Create an account (KYC required for Brazilian residents)
  3. Navigate to API settings to generate key and secret
  4. Set the environment variables

Environment Variables

Variable Required Description
FOXBIT_API_KEY Yes API key from Foxbit
FOXBIT_API_SECRET Yes API secret for HMAC-SHA256

Brazilian Crypto Exchanges in CodeSpar

Hedge liquidity across multiple BR venues:

  • Mercado Bitcoin, biggest BR exchange, 200+ tokens, deep altcoin coverage
  • Foxbit (this), 2nd BR exchange, focus on BTC / ETH / LTC, strong institutional desk

Merchants and traders use both for best execution and redundancy.

Roadmap

v0.2 (planned)
  • get_candles, OHLCV candlestick data
  • create_withdrawal, Initiate crypto/PIX withdrawal
  • list_currencies, Available currencies and networks
  • get_fees, Trading fees for account tier
  • create_stop_order, Stop-limit / stop-market orders
v0.3 (planned)
  • Institutional / OTC desk integrations
  • WebSocket market data streams (where MCP transport allows)

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Foxbit

What is the Foxbit MCP server?

MCP server for Foxbit, Brazilian crypto exchange, trading, orderbook, institutional. Foxbit is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Foxbit MCP server?

Add Foxbit to your AI app's MCP config with the command npx -y @codespar/mcp-foxbit@0.2.2. In Claude Code, run claude mcp add --transport stdio codespar-foxbit -- npx -y @codespar/mcp-foxbit@0.2.2. To run Foxbit this way you need Node.js installed.

Does Foxbit need an API key?

Yes. Foxbit expects FOXBIT_API_KEY and FOXBIT_API_SECRET to be set. Create the key for Foxbit in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Foxbit an official MCP server?

No. Foxbit is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Foxbit access to company data.

What license is Foxbit under?

Foxbit is released under the MIT license, according to its GitHub repository. The license covers the code of Foxbit; the service it connects to has its own terms.