Finance MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Finance MCP Serverget market data for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Finance MCP Server
A Model Context Protocol (MCP) server that provides access to financial market data using the yfinance API.
Features
Fetches real-time financial market data for stock tickers
Supports common stocks like AAPL, GOOGL, MSFT, AMZN, TSLA
Provides current price, day change percentage, 52-week high/low, P/E ratio, market cap, and dividend yield
Includes news headlines related to the requested ticker
Related MCP server: Stock Data MCP Server
Running with Docker Compose
To start the MCP server using Docker Compose:
docker-compose up -dThe server will be accessible on port 3000.
Development
To run in development mode with auto-restart:
docker-compose upUsage
The server implements the MCP protocol and can be used with MCP-compatible clients that support the fetchMarketData tool.
Example Query
Example of how to query the server for Apple (AAPL) stock data using an MCP client:
{
"method": "tools/call",
"params": {
"name": "fetchMarketData",
"arguments": {
"ticker": "AAPL"
}
}
}Example Response
This query would return market data in the following format:
{
"success": true,
"data": {
"current_price": 172.35,
"day_change_pct": 0.84,
"52w_high": 198.23,
"52w_low": 124.17,
"pe_ratio": 28.5,
"market_cap": 2700000000000,
"dividend_yield_pct": 0.55,
"currency": "USD",
"news_headlines": [
"Apple Report Shows Strong Growth in Services Segment",
"AAPL Earnings Beat Estimates as iPhone Sales Surpass Expectations"
],
"news": [
{
"title": "Apple Report Shows Strong Growth in Services Segment",
"publisher": "Financial Times",
"link": "https://example.com/news1",
"time": "2023-06-15T10:30:00Z"
}
]
}
}Configuration
Edit server/config.js to add more ticker mappings or modify settings.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jrierapeiro/finance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server