Stock MCP Server

Financial Datasets MCP Server for Stock Market API

Local serverstdioTypeScript

What is the Stock MCP server?

Financial Datasets MCP Server for Stock Market API. The stock mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

A Model Context Protocol (MCP) server implementation for the Financial Datasets API. This server allows language models to interact with stock market and cryptocurrency data through a standardized interface.

  • Query company information by ticker or CIK
  • Retrieve historical stock prices and financial data
  • Access company financial statements (income, balance sheet, cash flow)
  • View financial metrics, ratios and press releases
  • Get cryptocurrency price data and real-time snapshots
  • Access financial prompts for company and crypto analysis

Adding it to your client

stock-market-mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

You will need 4 environment variables: YOUR_API_KEY, FINANCIAL_API_KEY, FINANCIAL_API_BASE_URL, CLAUDE_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the stock mcp server does with a few real requests.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by suhailak223; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the Stock MCP server

{
  "mcpServers": {
    "stock-market-1": {
      "command": "npx",
      "args": ["-y", "stock-market-mcp-server"],
      "env": {
        "YOUR_API_KEY": "your-value",
        "FINANCIAL_API_KEY": "your-value",
        "FINANCIAL_API_BASE_URL": "your-value",
        "CLAUDE_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
YOUR_API_KEYCredential the server authenticates with.Yes
FINANCIAL_API_KEYCredential the server authenticates with.Yes
FINANCIAL_API_BASE_URLEndpoint or connection string the server talks to.Yes
CLAUDE_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Stock to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Stock directly.