Skip to main content

MCP server for BitScale — connect your BitScale workspace to Claude

Project description

BitScale MCP Server

Connect your BitScale workspace to Claude via the Model Context Protocol (MCP).

Setup

1. Install uv (one-time)

macOS / Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Add to Claude Desktop config

Open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add:

{
  "mcpServers": {
    "bitscale": {
      "command": "uvx",
      "args": ["bitscale-mcp"],
      "env": {
        "BITSCALE_API_KEY": "your_api_key_here"
      }
    }
  }
}

3. Restart Claude Desktop

That's it. No cloning, no pip install — uvx pulls and runs the package automatically.


Tools

Tool Description
get_workspace_details Get workspace plan, credit balances, search limits, and member counts
list_grids List all grids with optional search & pagination, returns column definitions
get_grid_details Get a grid's full schema — columns, settings, and data sources
run_grid Run a grid by providing input values, supports sync and async modes
get_run_status Poll the status of an async or timed-out grid run by request_id
rotate_api_key Rotate the workspace API key (irreversible, invalidates current key)

Usage Examples

"List all my BitScale grids"

"Show me the details of the Lead Enrichment grid"

"Run the Lead Enrichment grid with company_name 'Acme Corp' and website 'acme.com'"

"Find phone numbers for people at Stripe using my BitScale grid"

"Check the status of run 550e8400-e29b-41d4-a716-446655440000"


How Grid Runs Work

  1. Discover grids — call list_grids to find available grids and their IDs.
  2. Inspect the grid — call get_grid_details with the grid ID to see column definitions and understand the schema.
  3. Run the grid — call run_grid with the grid ID and an inputs map of human-readable labels to values. In sync mode (default), results return directly within 120 seconds. In async mode, you get a request_id to poll.
  4. Poll if needed — if the run is still processing, call get_run_status with the request_id every 2-5 seconds until status is completed.

Input Labels vs Output Column UUIDs

This is an important distinction when using run_grid:

  • inputs — uses human-readable labels like "company_name", "website", "email". These labels are derived from the source columns configured on the grid's BitScale API data source. They are not column UUIDs. You can find the exact labels in the BitScale app by clicking the Data Source column → BitScale API source.

    "inputs": {
      "company_name": "Acme Corp",
      "website": "acme.com"
    }
    
  • output_columns — uses column UUIDs from get_grid_details to filter which enriched columns appear in the response.

    "output_columns": [
      "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
      "6ba7b811-9dad-11d1-80b4-00c04fd430c8"
    ]
    
  • Response outputs — keyed by column UUIDs, each containing {value, name} where name is the human-readable display name.

    "outputs": {
      "6ba7b810-9dad-11d1-80b4-00c04fd430c8": {
        "value": "AI-powered data enrichment platform",
        "name": "Company Description"
      }
    }
    

Claude Code

claude mcp add bitscale \
  --command uvx \
  --args bitscale-mcp \
  --env BITSCALE_API_KEY=your_api_key_here

API Reference

Requests hit https://api.bitscale.ai/api/v1, authenticated via X-API-KEY header. Default rate limit: 5 req/s per workspace.

Endpoint Method Tool
/workspace GET get_workspace_details
/grids GET list_grids
/grids/:gridId GET get_grid_details
/grids/:gridId/run POST run_grid
/run/status/:requestId GET get_run_status
/api-key/rotate POST rotate_api_key

API Key Rotation

Calling rotate_api_key immediately invalidates the current key and returns a new one. Update BITSCALE_API_KEY in your config and restart Claude Desktop after rotating.


License

MIT

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

bitscale_mcp-0.1.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

bitscale_mcp-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file bitscale_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: bitscale_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bitscale_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 50909d8588a8b85383a985585269dcc1dfc1f8f7fd953ad8a637420ff2876107
MD5 978f332e2dbe358319e6a1a1e93715df
BLAKE2b-256 86743545219145043c398c5c9969071787513adf8324198df2c26c2a58e78d03

See more details on using hashes here.

Provenance

The following attestation bundles were made for bitscale_mcp-0.1.2.tar.gz:

Publisher: publish.yml on featherflow/bitscale-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bitscale_mcp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bitscale_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bitscale_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 594994289a46a6f24e83ccfdbabfd38bca57bfdf337e67e7ce7111e291ebea60
MD5 6d99e2a478c11d711facae0f9e416cdf
BLAKE2b-256 47bcdec97dbd8957294ee7b343c8ab23f2a108b8f733c73edb96118c123c174e

See more details on using hashes here.

Provenance

The following attestation bundles were made for bitscale_mcp-0.1.2-py3-none-any.whl:

Publisher: publish.yml on featherflow/bitscale-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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