Skip to main content

MCP server for SunzuLab crypto market data

Project description

sunzulab-mcp

MCP server for SunzuLab crypto market data. Connects any MCP-compatible AI assistant to SunzuLab's historical market data API.

Setup

Get your API token at app.sunzulab.com/settings/api.

Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "sunzulab": {
      "command": "uvx",
      "args": ["sunzulab-mcp"],
      "env": {
        "SUNZU_API_TOKEN": "your-token-here"
      }
    }
  }
}

Claude Code

claude mcp add sunzulab -- uvx sunzulab-mcp -e SUNZU_API_TOKEN=your-token-here

Tools

list_exchanges

List all available cryptocurrency exchanges where SunzuLab collects market data.

list_pairs

List available trading pairs for a given exchange (e.g., binance-spot).

get_historical_data

Get historical market data for a specific venue, instrument, and indicator type.

Supported indicators:

  • bar -- OHLCV candles (open, high, low, close, volume, vwap)
  • spread -- bid-ask spread in basis points
  • trade_volume -- traded volume in quote currency
  • market_depth_mmm -- order book depth at various price levels

search_historical_data

Search historical data across multiple venue/instrument pairs at once. Useful for comparing the same indicator across different exchanges or trading pairs.

Development

git clone https://github.com/sunzulab/mcp-python.git
cd mcp-python
uv sync --dev
uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunzulab_mcp-0.2.0.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sunzulab_mcp-0.2.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file sunzulab_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: sunzulab_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sunzulab_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e06458b4d8e3c98f868fbee2cd177ac3e7f2b3eef124fcc92f637eb2ae041406
MD5 87b7f9ff677bbb5a415f5c5a307cbcc5
BLAKE2b-256 c641c2330a985bf6caea0306d1734a7750387e0018f6565971bf9f8a06fe49ac

See more details on using hashes here.

File details

Details for the file sunzulab_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: sunzulab_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sunzulab_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d63b180a1797f0dd74ddf7372a77654d723fe08ff1b25498d5b64a0f2b636629
MD5 d93c09940d17610fee2303a2e8e8180b
BLAKE2b-256 d41920af88933b83939ea7a7f160ae0b73cbe42e2beb9bc94d1a30e056c236d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page