MCP Server Studio

Finance MCP MCP server

Market data, SEC filings and risk tools for Webull, Saxo and IBKR. Only you can send an order.

Registry name: io.github.Blahaj-gif/hitl-finance-mcp

Publisher
Blahaj-gif
Runs
Runs locally
Package
PyPI
Version
0.5.0
Category
Finance & crypto
Updated
2026-11-06

Source code on GitHub

Set up Finance MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "hitl-finance-mcp": {
      "command": "uvx",
      "args": [
        "hitl-finance-mcp==0.5.0"
      ],
      "env": {
        "WEBULL_APP_KEY": "<WEBULL_APP_KEY>",
        "WEBULL_APP_SECRET": "<WEBULL_APP_SECRET>",
        "WEBULL_REGION_ID": "<WEBULL_REGION_ID>",
        "WEBULL_ENVIRONMENT": "<WEBULL_ENVIRONMENT>",
        "FINANCE_BROKER": "<FINANCE_BROKER>",
        "SAXO_ACCESS_TOKEN": "<SAXO_ACCESS_TOKEN>",
        "SAXO_ENVIRONMENT": "<SAXO_ENVIRONMENT>",
        "IBKR_BASE_URL": "<IBKR_BASE_URL>",
        "IBKR_TLS_INSECURE": "<IBKR_TLS_INSECURE>",
        "SEC_USER_AGENT": "<SEC_USER_AGENT>",
        "BLS_API_KEY": "<BLS_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add hitl-finance-mcp -e WEBULL_APP_KEY='<WEBULL_APP_KEY>' -e WEBULL_APP_SECRET='<WEBULL_APP_SECRET>' -e WEBULL_REGION_ID='<WEBULL_REGION_ID>' -e WEBULL_ENVIRONMENT='<WEBULL_ENVIRONMENT>' -e FINANCE_BROKER='<FINANCE_BROKER>' -e SAXO_ACCESS_TOKEN='<SAXO_ACCESS_TOKEN>' -e SAXO_ENVIRONMENT='<SAXO_ENVIRONMENT>' -e IBKR_BASE_URL='<IBKR_BASE_URL>' -e IBKR_TLS_INSECURE='<IBKR_TLS_INSECURE>' -e SEC_USER_AGENT='<SEC_USER_AGENT>' -e BLS_API_KEY='<BLS_API_KEY>' -- uvx hitl-finance-mcp==0.5.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "hitl-finance-mcp": {
      "command": "uvx",
      "args": [
        "hitl-finance-mcp==0.5.0"
      ],
      "env": {
        "WEBULL_APP_KEY": "<WEBULL_APP_KEY>",
        "WEBULL_APP_SECRET": "<WEBULL_APP_SECRET>",
        "WEBULL_REGION_ID": "<WEBULL_REGION_ID>",
        "WEBULL_ENVIRONMENT": "<WEBULL_ENVIRONMENT>",
        "FINANCE_BROKER": "<FINANCE_BROKER>",
        "SAXO_ACCESS_TOKEN": "<SAXO_ACCESS_TOKEN>",
        "SAXO_ENVIRONMENT": "<SAXO_ENVIRONMENT>",
        "IBKR_BASE_URL": "<IBKR_BASE_URL>",
        "IBKR_TLS_INSECURE": "<IBKR_TLS_INSECURE>",
        "SEC_USER_AGENT": "<SEC_USER_AGENT>",
        "BLS_API_KEY": "<BLS_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "hitl-finance-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "hitl-finance-mcp==0.5.0"
      ],
      "env": {
        "WEBULL_APP_KEY": "<WEBULL_APP_KEY>",
        "WEBULL_APP_SECRET": "<WEBULL_APP_SECRET>",
        "WEBULL_REGION_ID": "<WEBULL_REGION_ID>",
        "WEBULL_ENVIRONMENT": "<WEBULL_ENVIRONMENT>",
        "FINANCE_BROKER": "<FINANCE_BROKER>",
        "SAXO_ACCESS_TOKEN": "<SAXO_ACCESS_TOKEN>",
        "SAXO_ENVIRONMENT": "<SAXO_ENVIRONMENT>",
        "IBKR_BASE_URL": "<IBKR_BASE_URL>",
        "IBKR_TLS_INSECURE": "<IBKR_TLS_INSECURE>",
        "SEC_USER_AGENT": "<SEC_USER_AGENT>",
        "BLS_API_KEY": "<BLS_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "hitl-finance-mcp": {
      "command": "uvx",
      "args": [
        "hitl-finance-mcp==0.5.0"
      ],
      "env": {
        "WEBULL_APP_KEY": "<WEBULL_APP_KEY>",
        "WEBULL_APP_SECRET": "<WEBULL_APP_SECRET>",
        "WEBULL_REGION_ID": "<WEBULL_REGION_ID>",
        "WEBULL_ENVIRONMENT": "<WEBULL_ENVIRONMENT>",
        "FINANCE_BROKER": "<FINANCE_BROKER>",
        "SAXO_ACCESS_TOKEN": "<SAXO_ACCESS_TOKEN>",
        "SAXO_ENVIRONMENT": "<SAXO_ENVIRONMENT>",
        "IBKR_BASE_URL": "<IBKR_BASE_URL>",
        "IBKR_TLS_INSECURE": "<IBKR_TLS_INSECURE>",
        "SEC_USER_AGENT": "<SEC_USER_AGENT>",
        "BLS_API_KEY": "<BLS_API_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
WEBULL_APP_KEYNoWebull OpenAPI app key. Without it prices fall back to Yahoo and the account and order tools are unavailable; everything else still works.
WEBULL_APP_SECRETNoWebull OpenAPI app secret. Signs every request; the app key alone cannot authenticate.
WEBULL_REGION_IDNoWebull region: us, hk, jp, sg, th, my, uk, au, eu, br, mx, za.
WEBULL_ENVIRONMENTNoprod trades the real account. paper repoints the ENTIRE client at Webull's sandbox, quotes included, and needs separate sandbox credentials — production keys return 401 there.
FINANCE_BROKERNoWhich broker adapter the account and order tools use, and where prices come from: webull, saxo or ibkr. Only the tools the configured broker can serve are registered, so the tool list never…
SAXO_ACCESS_TOKENNoOnly for FINANCE_BROKER=saxo. A 24-hour simulation token comes from Saxo's Developer Portal with no approval process and no live money; live access needs the OAuth2 code flow. UNVERIFIED ADAPTER.
SAXO_ENVIRONMENTNosim or live. Selects Saxo's simulation gateway or the live one.
IBKR_BASE_URLNoOnly for FINANCE_BROKER=ibkr. This is the Client Portal Web API, not the TWS socket API: run IBKR's Client Portal Gateway and log in at https://localhost:5000 in a browser first. A paper account…
IBKR_TLS_INSECURENoSet to 1 to accept the Client Portal Gateway's self-signed certificate unverified, or point IBKR_CACERT at it instead. This is a decision about the connection carrying your orders, so it is never…
SEC_USER_AGENTNoA descriptive User-Agent with a real contact address, e.g. 'Jane Doe ([email protected])'. The SEC's fair-access policy requires it and the filings tools refuse to send requests without one rather…
BLS_API_KEYNoOptional. BLS allows 25 macro queries a day without a key; a free key raises it to 500 and extends history from 10 to 20 years.

More finance & crypto MCP servers