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.1.tar.gz (65.4 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.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sunzulab_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 65.4 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.1.tar.gz
Algorithm Hash digest
SHA256 e199d18e22759bd54918e3a6f0dd74bb8fd1537bd884e6ea2b0d8dbf3c1adf08
MD5 63f58c2dfe43da4c044703427289e715
BLAKE2b-256 d9bea75ed68d6d4a5044d2e3d03fd66377cd9eeafdf8d635ec1acfe91d6e7519

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sunzulab_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2afc6d76c43010b2f6ea4dbd0d212c2d9d2def25ebf9745386df9367ef22c18
MD5 7dbc4526e1c6f36aa1d138ac5e4c0d0c
BLAKE2b-256 34a740298a0df1c7c4fa434128e5b60d4f7ac921c33e20573fdedbf73f97ade7

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