finance-mcp
Provides real-time cryptocurrency quotes and market data (e.g., price, 24h change) via CoinGecko for Bitcoin and other coins.
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-mcpWhat's the RSI and moving averages for MSFT?"
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
Real-time stock & crypto market data for LLMs, over the Model Context Protocol.
finance-mcp is an MCP server that lets any MCP-compatible client (Claude Desktop,
Cline, Continue, …) pull live equity and crypto quotes, historical candles, and
common technical indicators — so the model can reason over real market data instead
of hallucinating it.
┌──────────────┐ MCP (stdio) ┌───────────────┐ HTTP ┌──────────────┐
│ LLM client │ ◀─────────────▶ │ finance-mcp │ ◀──────▶ │ yfinance │
│ (Claude etc.)│ tool calls │ server │ │ CoinGecko │
└──────────────┘ └───────────────┘ └──────────────┘Features
get_stock_quote— latest price, day change, % change for any ticker (AAPL,SPY, …)get_stock_history— OHLCV candles over a configurable period/intervalget_crypto_price— live crypto quotes via CoinGecko (no API key needed)analyze_stock— SMA(20/50), EMA(20), and RSI(14) computed in-processProvider layer isolates each upstream API behind a small, fully unit-tested surface
Async throughout; blocking provider I/O is offloaded to worker threads
Related MCP server: Finance MCP Server
Install
git clone https://github.com/porkornrawee/finance-mcp.git
cd finance-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"Use with Claude Desktop
Add this to your claude_desktop_config.json (see examples/):
{
"mcpServers": {
"finance": {
"command": "finance-mcp",
"args": []
}
}
}Restart Claude Desktop, then ask things like:
"What's the RSI on NVDA over the last 6 months, and how does it compare to Bitcoin's 24h move?"
Tools
Tool | Arguments | Returns |
|
| price, change, %, currency |
|
| list of OHLCV candles |
|
| price, 24h change |
|
| latest close + SMA/EMA/RSI |
Note: crypto uses CoinGecko ids (the slug), e.g.
bitcoin, notBTC.
Development
ruff check . # lint
mypy src # type-check
pytest -q # tests (network-free; CoinGecko is mocked with respx)The indicator math in indicators.py is intentionally
pure and dependency-free so it can be tested deterministically without hitting any API.
Disclaimer
This project is for informational and educational purposes only. It is not financial advice. Market data is provided by third parties on a best-effort basis and may be delayed or inaccurate.
License
MIT © porkornrawee — see LICENSE.
Maintenance
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
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/porkornrawee/finance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server