MarketIntell

MCP Integration

Use MarketIntell from Claude Desktop, Cursor, and other MCP-compatible clients

MCP (Model Context Protocol) Integration

MarketIntell exposes its core capabilities as a Model Context Protocol server, so any MCP-compatible client (Claude Desktop, Cursor, Continue, etc.) can call the brain, screen tokens, and pull alpha signals as native tools — no custom integration required.

Endpoint: https://api.marketintell.ai/mcp/sse

The MCP server is mounted on the same host as the REST API. Health check: https://api.marketintell.ai/mcp/health.

Available tools

The server exposes 17 tools:

ToolDescription
chatStandard chat through the brain (T1 fast agent or T2 CoT pipeline)
chat_deepT3 supervisor mode — multi-specialist debate (Pro+ only)
alpha_signalsRecent alpha signals with optional domain filter
signal_performanceAccuracy / hit-rate stats for past signals
screenerFundamental + momentum screener
portfolio_listList the calling key's portfolios
portfolio_createCreate a new portfolio
portfolio_analyzeRun an analysis on an existing portfolio
sessions_listList the calling key's chat sessions
billing_statusCurrent tier, daily quota, and monthly cost
healthProvider + DB health snapshot
register_challengeGet a Proof-of-Work challenge for self-signup
registerSubmit the PoW solution + claim a free key
execute_propose_intentPropose a broker trade intent for review. No money moves.
execute_approve_intentApprove a pending intent and place the real broker order.
execute_list_intentsList recent trade intents and their current states.
execute_read_portfolioRead connected broker equity, cash, buying power, and positions.

The four execute_* tools require a broker-connected key with the trade scope.

Authentication

MCP requests authenticate the same way as REST:

  • X-API-Key: mi_k_... header, OR
  • Authorization: Bearer mi_k_... header

The auth path is separate from the REST middleware (/mcp/* is in the REST SKIP_PATHS list) and produces JSON-RPC-shaped errors that MCP clients understand.

Quick install — Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "marketintell": {
      "url": "https://api.marketintell.ai/mcp/sse",
      "headers": {
        "X-API-Key": "mi_k_your_key_here"
      }
    }
  }
}

Restart Claude Desktop. The 17 tools should appear in the MCP picker.

Quick install — Cursor

Cursor's MCP config (Settings → Features → Model Context Protocol):

{
  "marketintell": {
    "url": "https://api.marketintell.ai/mcp/sse",
    "headers": {
      "X-API-Key": "mi_k_your_key_here"
    }
  }
}

Catalogue installs

For a one-click install via an MCP catalogue:

Smithery proxies your requests through their hosted runtime and forwards X-Smithery-Proxy: true so server-side analytics can attribute installs to the catalogue.

Worked example — chat tool

In Claude Desktop after install, ask:

"Use the marketintell chat tool to give me an ETH risk/reward analysis."

The agent will call:

{
  "tool": "chat",
  "arguments": {
    "message": "ETH risk/reward analysis",
    "domain": "crypto"
  }
}

And receive the same JSON shape as POST /v1/chat (without streaming — MCP tool responses are single-shot).

Worked example — alpha_signals tool

{
  "tool": "alpha_signals",
  "arguments": {
    "domain": "crypto",
    "limit": 10
  }
}

Returns the 10 most recent crypto signals with impact, sentiment, and tokens affected.

Rate limits

MCP requests share your account's daily query quota but use a separate per-key rate-limit bucket so a heavy chat session in the web UI can't starve your MCP tools.

Self-signup via PoW (no email needed)

The register_challenge + register tools let an MCP client provision its own Free key without a human signup flow:

  1. Call register_challenge → receive a SHA-256 PoW challenge.
  2. Find a nonce where SHA-256(prefix + nonce) starts with difficulty leading zeros — read difficulty from the challenge response, do not hard-code it.
  3. Call register with the challenge id + nonce.
  4. Server returns a fresh mi_k_* Free key.

The challenge response looks like this:

{
  "challengeId": "chl_a1b2c3",
  "prefix": "mi-pow-7f3a9c2e",
  "difficulty": 5
}

difficulty is server-set (5 is the current minimum floor and may rise). Read it from the response and build the target dynamically — never assume a fixed value:

import hashlib

def solve(prefix: str, difficulty: int) -> int:
    target = "0" * difficulty
    nonce = 0
    while True:
        digest = hashlib.sha256(f"{prefix}{nonce}".encode()).hexdigest()
        if digest.startswith(target):
            return nonce
        nonce += 1

# challenge = register_challenge()
# nonce = solve(challenge["prefix"], challenge["difficulty"])

You can attach an email later via POST /v1/auth/claim/:keyId.

On this page