finance-mcp
A remote MCP server for market data that provides stock quotes, price history, option chains, finance news, and market snapshots, deployable as a Cloudflare Worker.
README
finance-mcp
A focused remote Model Context Protocol (MCP) server for market data, designed for Cloudflare Workers and AI clients such as ChatGPT/Codex.
Tools
stock_quote— latest / near-real-time quote metadata for up to 10 tickersprice_history— OHLCV history with intraday and daily intervalsoption_chain— option expirations, calls, puts, IV, volume and open interestfinance_news— company/ticker news searchmarket_snapshot— S&P 500, Nasdaq Composite, Dow Jones and VIX snapshot
Data sources
The first release uses Yahoo Finance public/unofficial endpoints. Exchange and upstream rules determine actual latency. Treat quotes as near-real-time unless your upstream entitlement explicitly guarantees real-time data. Options data may be delayed; verify execution decisions against your broker/order book.
Local development
npm install
npm run dev
Health check:
http://localhost:8787/health
MCP endpoint:
http://localhost:8787/mcp
Deploy to Cloudflare Workers
npm install
npx wrangler login
npm run deploy
After deployment, Wrangler returns a Workers URL. Your remote MCP endpoint is:
https://<worker-name>.<account-subdomain>.workers.dev/mcp
Use /health to verify the Worker is reachable.
Connect an MCP client
Configure the remote MCP URL ending in /mcp. This project uses Streamable HTTP through Cloudflare's stateless MCP handler.
Example prompts
Get AAPL and NVDA latest quotes.Show AAPL 5-day 5-minute price history.Get the nearest AAPL option chain and identify the highest-volume calls and puts.Find the latest Apple finance news.Give me a US market snapshot.
Roadmap
Next modules can add SEC filings, FRED macro data, institutional holdings, insider transactions, Cboe/OPRA-capable option feeds and broker-grade real-time market data providers.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.