MCP Finance Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π MCP Finance Server
A Model Context Protocol (MCP) server that provides financial data tools for AI assistants. Get real-time stock prices, company info, market news, and technical analysis through a standardized interface.
π Features
Stock Prices β Real-time and historical price data
Company Info β Fundamentals, financials, and company profiles
Market News β Latest news and sentiment for any ticker
Technical Analysis β Moving averages, RSI, MACD, and key indicators
Portfolio Tracking β Track multiple positions with P&L calculations
Market Overview β Major indices (S&P 500, NASDAQ, Dow) and market status
Stock Screener β Filter stocks by market cap, P/E, sector, dividends
Crypto Prices β Bitcoin, Ethereum, and other cryptocurrency data
Related MCP server: MCP YFinance Stock Server
π¦ Installation
# Clone the repository
git clone https://github.com/edwiniac/mcp-finance.git
cd mcp-finance
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txtπ§ Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"finance": {
"command": "python",
"args": ["/path/to/mcp-finance/server.py"]
}
}
}With uvx (Recommended)
{
"mcpServers": {
"finance": {
"command": "uvx",
"args": ["--from", "git+https://github.com/edwiniac/mcp-finance", "mcp-finance"]
}
}
}π οΈ Available Tools
Tool | Description |
| Current price, daily change, volume, 52-week range |
| Full company profile, financials, analyst ratings |
| Latest news articles for any ticker |
| MA, RSI, MACD, support/resistance levels |
| Major indices and market status |
| Portfolio value and P&L tracking |
| Side-by-side stock comparison |
| Cryptocurrency prices (BTC, ETH, etc.) |
| Earnings dates and history |
| Filter stocks by criteria |
π¬ Example Conversations
Once connected to Claude (or any MCP-compatible assistant):
Stock Price Check:
User: What's Apple trading at?
Assistant: Apple (AAPL) is currently at $185.92, up +1.24% today.
Day range: $184.50 - $186.75
52-week range: $164.08 - $199.62Technical Analysis:
User: Give me a technical analysis of NVDA
Assistant: NVDA Technical Analysis (3-month):
- Trend: Bullish
- RSI(14): 62.5 (Neutral)
- Price vs MA20: +4.2%
- Support: $875 | Resistance: $950Portfolio Tracking:
User: Calculate my portfolio: 10 AAPL at $150, 5 GOOGL at $140, 20 MSFT at $380
Assistant: Portfolio Summary:
Total Value: $12,450.30
Total P&L: +$1,892.50 (+17.9%)
Holdings:
- AAPL: +$359 (+23.9%)
- GOOGL: +$285 (+40.7%)
- MSFT: +$1,248 (+16.4%)Stock Comparison:
User: Compare AAPL, MSFT, and GOOGL
Assistant: Comparison:
| Metric | AAPL | MSFT | GOOGL |
|-------------|---------|---------|---------|
| Price | $185.92 | $442.50 | $175.20 |
| P/E Ratio | 31.2 | 37.8 | 25.4 |
| Market Cap | $2.87T | $3.29T | $2.15T |
| 1Y Return | +28.5% | +19.2% | +45.3% |ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββββββ
β MCP Finance Server β
βββββββββββββββββββββββββββββββββββββββββββ€
β βββββββββββ βββββββββββ βββββββββββ β
β β Stock β βTechnicalβ βPortfolioβ β
β β Data β βAnalysis β β Calc β β
β ββββββ¬βββββ ββββββ¬βββββ ββββββ¬βββββ β
β β β β β
β ββββββΌβββββββββββββΌβββββββββββββΌβββββ β
β β Yahoo Finance API β β
β βββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββ
β
β MCP Protocol (stdio)
βΌ
βββββββββββββββββββββββββββββββββββββββββββ
β Claude / AI Assistant β
βββββββββββββββββββββββββββββββββββββββββββπ Data Sources
Yahoo Finance β Stock prices, company info, historical data (via
yfinance)Free tier, no API key required
Rate limits apply for heavy usage
π Technical Indicators
The get_technical_analysis tool provides:
Moving Averages: MA20, MA50, MA200
Momentum: RSI(14), MACD, Signal Line
Levels: Support, Resistance, 52-week range
Volatility: Annualized volatility, average daily range
Trend: Bullish/Bearish/Neutral classification
π Development
# Run server directly (for testing)
python server.py
# Run with MCP inspector
npx @modelcontextprotocol/inspector python server.pyπ License
MIT License - see LICENSE for details.
π€ Contributing
Contributions welcome! Please feel free to submit a Pull Request.
Built with Model Context Protocol β’ yfinance β’ Python
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.
Yahoo Finance stock quotes and multi-ticker comparison as agent tools.
Live stock quotes, a stock screener, crypto prices and FX rates as agent tools.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access real-time financial data, historical stock prices, company information, financial statements, options data, market news, and analyst recommendations through Yahoo Finance. Built with FastMCP v2 for efficient HTTP streaming and comprehensive market analysis tools.4-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to retrieve real-time stock data, manage watchlists, and perform comprehensive technical analysis using Yahoo Finance API. Provides 18+ tools for stock price tracking, trend analysis, volatility assessment, and financial indicators through MCP integration.MIT
- FlicenseAqualityDmaintenanceProvides financial data from Yahoo Finance via MCP, enabling AI agents to access real-time stock info, historical prices, financial statements, and market analysis.1014-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access real-time stock, crypto, and market index data from Yahoo Finance, supporting queries for prices, history, company info, and comparisons.MIT