Crypto Regime MCP
Use this MCP server to query crypto market signals, regime analytics, indicators, and derivatives data.
List supported assets and browse the full signal-api product catalog.
Get a free delayed trend/regime sample for BTC or ETH.
Retrieve combined BTC + ETH daily trend signals.
Scan all assets for market strength/weakness, RSI, returns, and regime counts.
Fetch per-asset trend, market regime, historical regime statistics, and technical indicators.
Fetch Hyperliquid perpetual derivatives data per asset or across all assets.
Check remaining prepaid credits when using a credit key.
Use free tools without keys; paid tools work via prepaid credits or x402 USDC payments on Base.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Crypto Regime MCP What's the current BTC trend and market regime?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Crypto Regime MCP
A stdio MCP bridge for signal-api. It connects Claude Desktop, Claude Code, Cursor or any stdio MCP client to the remote Streamable HTTP MCP endpoint and pays for tools in one of two ways:
x402: signs USDC payments on Base with a local EVM wallet.
Prepaid credits: sends an
X-API-Keyto the REST/v1/*routes.
Not Signal Messenger.
signal-apiis a crypto market-signal service. This package has no relationship with Signal Messenger or its messaging app.
What it does
Speaks MCP over stdio to your client.
Connects to
https://signal-api.shicoars.workers.dev/mcpusing Streamable HTTP.Exposes the remote tools locally, including their input schemas.
With
SIGNAL_API_KEY, serves paid tools through/v1/*and/p/*using prepaid credits and addsget_credit_balance.Without
SIGNAL_API_KEY, detects x402PaymentRequiredresponses and signs USDC payments on Base automatically.Enforces a per-session spending limit with
MAX_SPEND_USDCin x402 mode.
The bridge is useful for clients that only support stdio MCP and do not have native x402 payment support. Clients with native x402 support can connect directly to the remote URL.
Related MCP server: @zeam-labs/x402-mcp-bridge
Payment methods
1. Prepaid credits (SIGNAL_API_KEY)
Set SIGNAL_API_KEY to a credit key (sk_...) bought from signal-api. The
bridge then:
Calls
/v1/signal,/v1/market-scan,/v1/trend/{asset},/v1/regime/{asset}and/v1/indicators/{asset}with theX-API-Keyheader.Uses the product routes
/p/regime-stats-{asset},/p/derivatives-{asset}and/p/derivatives-scanforget_regime_stats,get_derivativesandget_derivatives_scan, because signal-api does not expose/v1versions of those tools.Does not sign x402 payments and does not need
EVM_PRIVATE_KEY.Uses the free
/free/{asset}route forget_sample.Exposes
get_credit_balance, which readsGET /credits/balance.Reports the credits charged and remaining balance in
_metaundersignal-api/creditswhen the API returns those headers.
SIGNAL_API_KEY takes precedence when both variables are set.
2. x402 (EVM_PRIVATE_KEY)
Without SIGNAL_API_KEY, the bridge works as before: it connects to the remote
MCP endpoint, receives x402 PaymentRequired results, signs USDC payments on
Base with EVM_PRIVATE_KEY, and retries the call. MAX_SPEND_USDC caps the
amount the bridge may authorize per session.
Tools and prices
15 tools exposed across no-key and credit modes.
Tool | Description | x402 price | Credits |
| List supported crypto assets and product ids for signal-api. Use this first to discover valid | free | free |
| Return the full signal-api catalog: active products, types, params, prices and descriptions. Use when you need the complete product list... | free | free |
| Get a free 1-day-delayed trend and regime sample for BTC or ETH. Today's live data and the other assets are paid. Free, limited to 60... | free | free |
| Get the daily public x402 market radar: top services by on-chain buyers, USDC revenue, repeat buyers, categories and listed prices. Uses... | $0.005 | 1 |
| Technical check for one measured x402 resource: responds, valid 402, payment header size, price coherence, availability and on-chain... | $0.005 | 1 |
| Technical check ranking of the top measured x402 services: availability, valid 402, payable header, price coherence, on-chain sales... | $0.01 | 2 |
| Get the combined BTC + ETH daily trend signal with exposure, SMA50, volatility and close. Uses prepaid credits via X-API-Key (1 credit). | $0.01 | 1 |
| One call to see what is strong/weak now: every catalog asset with trend, regime, RSI14, 7d/30d returns and distance to the 30d high/low... | $0.05 | 10 |
| Get the daily trend signal for one crypto asset: LONG/FLAT, exposure, SMA50, 30d volatility and close. Uses prepaid credits via... | $0.005 | 1 |
| Get the market regime for one crypto asset: bullish/bearish/lateral trend, low/medium/high volatility, SMA50 slope and close. Uses... | $0.005 | 1 |
| Get historical regime statistics for one crypto asset: episode counts, mean/median 7/14/30-day returns, hit rate, drawdown and... | $0.02 | 4 |
| Get calculated daily indicators for one crypto asset: RSI14, MACD(12,26,9), ATR14, Bollinger %B, returns 7d/30d, 30d/90d ranges and... | $0.005 | 1 |
| Get Hyperliquid perpetual derivatives data for one crypto asset: hourly funding (8h equivalent and annualized), open interest, mark and... | $0.005 | 1 |
| Get the Hyperliquid perpetual derivatives scan: funding and open interest rankings across all assets with fresh derivatives data. Uses... | $0.05 | 10 |
| Get the remaining prepaid credits for the configured SIGNAL_API_KEY, including pack, payer and update timestamps. (credit-key mode only) | free | free |
Network for x402: Base mainnet (eip155:8453), paid in USDC.
Credits are charged per request: get_market_scan and get_derivatives_scan
cost 10 credits, get_regime_stats costs 4 credits and the other paid tools
cost 1 credit. Insufficient credits return HTTP 402 with the current balance; an
invalid key returns HTTP 401.
Requirements
Node.js 20 or newer
Optional: a credit key from signal-api, or an EVM wallet private key with a small USDC balance on Base
An MCP client that supports stdio servers (Claude Desktop, Claude Code, Cursor, or another MCP-compatible client)
Without SIGNAL_API_KEY or EVM_PRIVATE_KEY the bridge still starts, lists
tools and serves the free tools; paid tools return a clear setup error.
Installation
Run the published package with npx:
npx -y @shicodiez/crypto-regime-mcpOr install it globally:
npm install -g @shicodiez/crypto-regime-mcpFrom source:
git clone https://github.com/Shicodiez/crypto-regime-mcp.git
cd crypto-regime-mcp
npm installRun the bridge in credit mode:
SIGNAL_API_KEY=sk_... node src/index.jsOr in x402 mode:
EVM_PRIVATE_KEY=0x... MAX_SPEND_USDC=1 node src/index.jsOn Windows PowerShell:
$env:SIGNAL_API_KEY = "sk_..."
node src/index.js$env:EVM_PRIVATE_KEY = "0x..."
$env:MAX_SPEND_USDC = "1"
node src/index.jsThe process communicates over stdio. Diagnostics are written to stderr.
Buying a credit pack
Buy a pack with x402. The starter pack costs 5 USDC and returns 2,000 credits; the pro pack costs 20 USDC and returns 10,000 credits.
POST https://signal-api.shicoars.workers.dev/credits/buy/starterThe first request without payment returns HTTP 402 with the x402 requirements in
the PAYMENT-REQUIRED header. Sign the USDC payment on Base with any x402-capable
client and retry the same request with the signed payload:
curl -i -X POST https://signal-api.shicoars.workers.dev/credits/buy/starter \
-H "PAYMENT-SIGNATURE: <signed x402 payment payload>"A successful response looks like:
{
"key": "sk_...",
"key_type": "api_key",
"pack": "starter",
"credits": 2000,
"balance": 2000,
"payer": "0x...",
"transaction": "0x...",
"note": "Store this key now. It is not stored and cannot be recovered."
}Store the key immediately: signal-api stores only its SHA-256 hash and cannot
show it again. Then set SIGNAL_API_KEY=sk_... in your MCP client and check the
balance at any time:
curl https://signal-api.shicoars.workers.dev/credits/balance \
-H "X-API-Key: sk_..."The same header also works directly on /signal, /p/{id} and /v1/*.
Configuration
Variable | Required | Default | Description |
| One of these two | - | Prepaid credit key ( |
| One of these two | - | 32-byte hex private key ( |
| No |
| Maximum USDC the bridge may authorize per session in x402 mode. Set |
| No |
| Remote MCP endpoint. |
| No | origin of the MCP URL | REST base URL used in credit mode. |
| No |
| x402 network. Base mainnet is the default. |
Claude Desktop
Edit the Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Credit mode:
{
"mcpServers": {
"crypto-regime": {
"command": "npx",
"args": ["-y", "@shicodiez/crypto-regime-mcp"],
"env": {
"SIGNAL_API_KEY": "sk_..."
}
}
}
}x402 mode: replace SIGNAL_API_KEY with EVM_PRIVATE_KEY and optionally
MAX_SPEND_USDC.
Restart Claude Desktop after saving the file.
Claude Code
Credit mode:
claude mcp add crypto-regime \
--env SIGNAL_API_KEY=sk_... \
-- npx -y @shicodiez/crypto-regime-mcpx402 mode:
claude mcp add crypto-regime \
--env EVM_PRIVATE_KEY=0x... \
--env MAX_SPEND_USDC=1 \
-- npx -y @shicodiez/crypto-regime-mcpIf your Claude Code version supports remote MCP with x402 payments, you can add the hosted endpoint directly instead:
claude mcp add --transport http crypto-regime \
https://signal-api.shicoars.workers.dev/mcpFor credit mode or automatic x402 payments, use the stdio bridge above.
Cursor
Add the server to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your
project. Credit mode:
{
"mcpServers": {
"crypto-regime": {
"command": "npx",
"args": ["-y", "@shicodiez/crypto-regime-mcp"],
"env": {
"SIGNAL_API_KEY": "sk_..."
}
}
}
}x402 mode: replace SIGNAL_API_KEY with EVM_PRIVATE_KEY and optionally
MAX_SPEND_USDC.
Reload Cursor after saving the file.
Remote URL
The hosted MCP server is:
https://signal-api.shicoars.workers.dev/mcpTransport: Streamable HTTP.
Free tools work without authentication or payment.
Paid MCP tools return an x402
PaymentRequiredresult.An x402-capable client can pay directly.
Clients without native x402 support can use this stdio bridge in x402 mode.
Credit keys can also call the REST routes directly with
X-API-Key.
Security
Use a dedicated wallet in x402 mode. Do not use a wallet that holds savings or other assets. Fund it with only the amount you are willing to spend.
Set
MAX_SPEND_USDCin x402 mode. The default is1USDC per session. The bridge refuses payments that would exceed the limit.Protect
SIGNAL_API_KEY. Treat it like cash: anyone with the key can spend its credits. Do not commit it to a repository.The private key and credit key are stored in plain text in your MCP client configuration. Protect that file and never commit it.
Never commit
.envfiles or keys. The included.gitignoreexcludes common local secret files.Review payments. In x402 mode the bridge logs authorized amounts and recipients to stderr. Check the wallet balance and transaction history regularly.
The bridge only sends
EVM_PRIVATE_KEYto the local signing library; it is never sent to signal-api.SIGNAL_API_KEYis sent only to signal-api.
Development
Run the tests:
npm testBuild (syntax-check the published sources):
npm run buildThe test suite covers the session spending tracker, USDC amount conversion, credit-mode route mapping, credit error handling and configuration precedence.
License
MIT. See LICENSE.
Available Tools
12 toolsget_catalogGet signal-api catalogARead-onlyIdempotentInspect
Return the full signal-api catalog: active products, types, params, prices and descriptions. Use when you need the complete product list or metadata. Free.
Inputs: no named parameters.
get_credit_balanceARead-onlyIdempotentInspect
Get the remaining prepaid credits for the configured SIGNAL_API_KEY, including pack, payer and update timestamps. Free.
Inputs: no named parameters.
get_derivativesARead-onlyIdempotentInspect
Get Hyperliquid perpetual derivatives data for one crypto asset: hourly funding (8h equivalent and annualized), open interest, mark and oracle price, and basis. Uses prepaid credits via X-API-Key (1 credit). Discover assets with list_assets.
Inputs: asset (required).
get_derivatives_scanARead-onlyIdempotentInspect
Get the Hyperliquid perpetual derivatives scan: funding and open interest rankings across all assets with fresh derivatives data. Uses prepaid credits via X-API-Key (10 credits).
Inputs: no named parameters.
get_indicatorsARead-onlyIdempotentInspect
Get calculated daily indicators for one crypto asset: RSI14, MACD(12,26,9), ATR14, Bollinger %B, returns 7d/30d, 30d/90d ranges and distance to each level. Uses prepaid credits via X-API-Key (1 credit). Discover assets with list_assets.
Inputs: asset (required).
get_market_scanARead-onlyIdempotentInspect
One call to see what is strong/weak now: every catalog asset with trend, regime, RSI14, 7d/30d returns and distance to the 30d high/low, plus top-5 most bullish/bearish, RSI overbought/oversold and regime counts. Uses prepaid credits via X-API-Key (10 credits).
Inputs: no named parameters.
get_regimeARead-onlyIdempotentInspect
Get the market regime for one crypto asset: bullish/bearish/lateral trend, low/medium/high volatility, SMA50 slope and close. Uses prepaid credits via X-API-Key (1 credit). Discover assets with list_assets.
Inputs: asset (required).
get_regime_statsARead-onlyIdempotentInspect
Get historical regime statistics for one crypto asset: episode counts, mean/median 7/14/30-day returns, hit rate, drawdown and episode-bootstrap confidence intervals. Historical statistics, not a prediction. Uses prepaid credits via X-API-Key (4 credits). Discover assets with list_assets.
Inputs: asset (required).
get_sampleARead-onlyIdempotentInspect
Get a free 1-day-delayed trend and regime sample for BTC or ETH. Today's live data and the other assets are paid. Free, limited to 60 calls/hour per IP.
Inputs: asset (required).
get_signalARead-onlyIdempotentInspect
Get the combined BTC + ETH daily trend signal with exposure, SMA50, volatility and close. Uses prepaid credits via X-API-Key (1 credit).
Inputs: no named parameters.
get_trendARead-onlyIdempotentInspect
Get the daily trend signal for one crypto asset: LONG/FLAT, exposure, SMA50, 30d volatility and close. Uses prepaid credits via X-API-Key (1 credit). Discover assets with list_assets.
Inputs: asset (required).
list_assetsList supported crypto assetsARead-onlyIdempotentInspect
List supported crypto assets and product ids for signal-api. Use this first to discover valid asset values for get_trend/get_regime and to see prices. Free.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools are clearly scoped (single-asset vs scan vs catalog vs credits), but get_signal and get_trend both return a 'daily trend signal with exposure, SMA50, volatility and close' — the only visible difference is BTC+ETH combined vs a single asset, which invites misselection. get_sample also overlaps conceptually with get_trend/get_regime (delayed free data), and get_market_scan vs get_derivatives_scan differ only by data domain, requiring careful reading.
Nearly uniform get_<noun> snake_case pattern (get_trend, get_regime, get_indicators, get_derivatives, get_credit_balance) plus a sensible list_assets, with scan/stats suffixes used consistently for variants. No mixed camelCase or inconsistent verb styles.
12 tools is well within the ideal 3-15 range and each maps to a distinct data product (asset list, catalog, sample, trend, regime, stats, indicators, derivatives, two scans, credit balance). Nothing feels padded or missing at the count level.
The surface covers discovery, free sampling, per-asset analytics, cross-asset scanning, derivatives, and credit checks, so core read workflows are closed. Minor gaps remain: no historical OHLC/price-series endpoint, no way to purchase or top up credits, and no single call for fetching multiple named assets (only full scans).
Maintenance
Related MCP Connectors
Paid MCP tools behind one endpoint. Agents pay per call in USDC on Base via x402.
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
MCP server for X420's pay-per-call agent services (x402, USDC on Base, paid from your own wallet).
Pay-per-use MCP tools for AI agents. USDC on Base via x402. No API keys.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceLocal stdio MCP server for x402-powered paid crypto intelligence, decision verification, and agent automation search over USDC micropayments on Base.718 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables existing MCP clients to access paid MCP servers by signing x402 payments locally and proxying tool calls, with automatic line management, retries, and spend limits.25 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceExposes typed crypto-security tools — token risk scoring, wallet forensics, deployer reputation, sentiment, and report generation — to MCP-capable agents over streamable HTTP or stdio. Gates premium calls behind per-request x402 crypto micropayments, delegating verification and settlement to a self-hosted facilitator and failing closed when payment cannot be confirmed.MIT
- AlicenseAqualityBmaintenanceStdio proxy for HirePulse: 27 live tools for company research, hiring, job changes, public contacts and commerce evidence. Focused remote profiles: 9 B2B or 11 commerce tools. Free sandbox, 10 successful calls per agent per UTC day (shared network ceiling), and eligible 25-call trials. Paid results use x402 USDC on Base. Install: npx -y hirepulse-mcp (Node.js 20+).2620 npm1MIT