New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@blackforge-so/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blackforge-so/mcp

Model Context Protocol server for BlackForge — the whole crypto market, in real time. Wraps the BlackForge /v1 market-data API as MCP tools.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
45
-6.25%
Maintainers
1
Weekly downloads
 
Created
Source

@blackforge-so/mcp

A Model Context Protocol stdio server that puts BlackForge market-data in your agent's hands. The whole crypto market, in real time — nine spot venues (binance, bitget, bybit, coinbase, gate, kraken, kucoin, mexc, okx), ~13,800 pairs, up to 117 measurement columns per pair per closed 5-minute window.

Every column is a measurement with a definition — order-book depth and shape, resting liquidity lifetimes, trade-explained vs book-implied volume, spreads, market-wide context — returned in-context so an agent can read the raw microstructure directly. It is a thin client over the public BlackForge /v1 API; it stores nothing and re-shapes nothing.

Quickstart

Add the server to your MCP client and paste an API key. Claude Desktop (claude_desktop_config.json) or Claude Code (.mcp.json):

{
  "mcpServers": {
    "blackforge": {
      "command": "npx",
      "args": ["-y", "@blackforge-so/mcp"],
      "env": { "BLACKFORGE_API_KEY": "bf_live_your_key" }
    }
  }
}

No install step — npx -y @blackforge-so/mcp fetches and runs the server on demand.

Where to get a key

Mint a key at app.blackforge.so → Keys. The server never creates keys; it reads BLACKFORGE_API_KEY from its environment. The blackforge_catalog tool works without a key, so you can verify the install before pasting one.

Tools

ToolReturns
blackforge_catalogEvery venue and every column definition (9 venues, 103 metrics). Keyless. Call this first to learn valid exchange and metric identifiers.
blackforge_symbolsThe trading pairs a venue lists, e.g. ["BTCUSDT", …].
blackforge_latestThe latest completed 5-minute window for one (exchange, symbol) — a values object of column → number, with epoch-ms ts. Pass columns to narrow it.
blackforge_seriesA time series for one column over a range: ascending { ts, value } points at 5m, 1h, or 1d. Capped at 50,000 points.
blackforge_usageThe key's recent request counts and remaining monthly row quota.

Plan entitlements (which venues, columns, and intervals a key may read) are enforced by the API. When a column is dropped because your plan does not include it, the tool result reports it in columnsOmitted so the agent understands why a key is absent. Venue- or interval-level restrictions come back as a clear tool error carrying the HTTP status and the server's message (including the upgrade URL, verbatim).

Configuration

Env varDefaultPurpose
BLACKFORGE_API_KEY(none)Your key. Required for every tool except blackforge_catalog.
BLACKFORGE_BASE_URLhttps://api.blackforge.soAPI base. Paths are appended as /v1/.... Override for a self-hosted or local dev API (e.g. http://localhost:3001/api).

Local development

npm install
npm run build     # → dist/index.js (ESM, executable)
npm test          # client unit tests + a stdio integration test

The integration test spawns the built server over stdio and drives it with the MCP client. Its data assertions need a local BlackForge API at http://localhost:3001/api; without one, those assertions are skipped and the tool-listing checks still run.

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Jul 2026

Related posts