Skip to main content

Overview

LLMQuant Data provides a Model Context Protocol (MCP) server, enabling AI agents (Claude, Cursor, etc.) to directly call our financial data APIs as tools — no custom integration required.

Installation

npx @llmquant/mcp-server
Or install globally:
npm install -g @llmquant/mcp-server

Configuration

Claude Desktop

Add to your claude_desktop_config.json:
{
  "mcpServers": {
    "llmquant-data": {
      "command": "npx",
      "args": ["-y", "@llmquant/mcp-server"],
      "env": {
        "LLMQUANT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cursor

Add to your .cursor/mcp.json:
{
  "mcpServers": {
    "llmquant-data": {
      "command": "npx",
      "args": ["-y", "@llmquant/mcp-server"],
      "env": {
        "LLMQUANT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools

Once connected, the following tools are available to your AI agent:
ToolDescription
search_wikiSearch quantitative finance concepts from Quant Wiki
search_papersSearch academic paper summaries from Quant Paper
get_equity_pricesGet historical price data for a stock
get_equity_snapshotGet latest price snapshot for one or more stocks
get_crypto_pricesGet historical price data for a crypto pair
get_crypto_snapshotGet latest price snapshot for crypto assets
get_income_statementsGet income statement data for a public company
get_balance_sheetsGet balance sheet data for a public company
get_cash_flow_statementsGet cash flow statement data for a public company
get_company_factsGet reference data and key facts for a company
get_filingsGet SEC filing metadata for a company
get_earningsGet earnings events and surprises for a company
get_insider_tradesGet insider trading activity for a company

Example Usage

Once configured, you can ask your AI agent natural language questions:
“What is momentum factor investing and how does it work?”
“Show me Apple’s revenue growth over the last 5 years.”
“Get the latest BTC price and funding rate.”
“Who has been selling TSLA stock in the last 30 days?”
The agent will automatically call the appropriate tools and return structured results.

Environment Variables

VariableRequiredDescription
LLMQUANT_API_KEYYesYour LLMQuant Data API key
LLMQUANT_BASE_URLNoOverride the API base URL (default: https://api.llmquant.com)

Get Your API Key

Sign up at llmquant.com and get your API key from the Dashboard.