MarketMind MCP
Enables financial research by providing stock quotes, historical prices, RSI indicators, and AI-generated analyst reports through the Model Context Protocol.
README
MarketMind MCP
A financial research MCP server built with FastMCP, Pydantic v2, and LangGraph.
Exposes 4 tools over the Model Context Protocol that any MCP-compatible client (Claude Desktop, Cursor, etc.) can call. Includes a LangGraph workflow that chains the tools into a multi-step research pipeline.
Tools
| Tool | Description |
|---|---|
get_stock_quote |
Latest price, change %, and volume for a ticker |
get_historical_prices |
OHLC price history for a given period |
compute_rsi |
RSI indicator with overbought/oversold classification |
generate_research_report |
Streams an AI analyst report token-by-token via MCP progress notifications |
Prerequisites
- Python 3.11+
uv- OpenAI API key (for
generate_research_report)
Setup
git clone https://github.com/your-username/marketmind-mcp
cd marketmind-mcp
uv sync
cp .env.example .env
# Add your OPENAI_API_KEY to .env
Usage
Run as MCP server (connect to Claude Desktop)
uv run marketmind
Add to your claude_desktop_config.json:
{
"mcpServers": {
"marketmind": {
"command": "uv",
"args": ["run", "marketmind"],
"cwd": "/path/to/marketmind-mcp"
}
}
}
Once connected, Claude Desktop can call all 4 tools. generate_research_report
streams the analyst report token-by-token via MCP progress notifications — the
report appears in real-time as it is written.
Run the LangGraph workflow directly (CLI)
uv run python -m marketmind.workflow NVDA
Example output:
Researching NVDA...
[market_node] NVDA $924.18 (+2.51%)
[market_node] RSI(14): 55.61 → neutral
[news_node] 5 headlines fetched
========================================================
RESEARCH REPORT: NVDA
Generated: 2026-03-16 05:57 UTC
========================================================
Summary
NVIDIA continues to exhibit strong bullish momentum, driven by accelerating
data centre GPU demand and positive earnings revisions.
Price Action
NVDA is up 2.51% today at $924.18, breaking above the 20-day moving average
on above-average volume.
Momentum
RSI(14) at 55.6 signals healthy momentum without approaching overbought territory.
News Context
Recent headlines highlight record Blackwell GPU shipments and expanded
hyperscaler contracts.
Outlook: BULLISH
For informational purposes only. Not financial advice.
Inspect tools interactively
uv run fastmcp inspect src/marketmind/server.py
Opens the FastMCP inspector in your browser — lets you call any tool manually and inspect inputs, outputs, and schemas.
Run Tests
uv run pytest -v
45 tests covering business correctness, input security, and workflow resilience.
Stack
| Layer | Technology |
|---|---|
| MCP server | fastmcp 3.x |
| Schema validation | pydantic v2 |
| Orchestration | langgraph |
| LLM | openai (GPT-4o) |
| Market data | yfinance |
| News | Yahoo Finance RSS via feedparser + httpx |
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.
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.
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.
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.