npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-foxbit

v0.2.1

Published

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

Readme

@codespar/mcp-foxbit

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

npm License: MIT

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