Listed from the MCP registry; nobody on Odel publishes it.
Read-only Yahoo Finance data (yfinance) for AI trading-research agents.
Runs on your machine from its package; the steps are below.
Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx yfinance-agent-mcp
MCP client config
{
"mcpServers": {
"yfinance-agent-mcp": {
"command": "uvx",
"args": [
"yfinance-agent-mcp"
]
}
}
}yfinance-agent-mcp is a read-only Model Context Protocol server that gives AI agents market data from Yahoo Finance through yfinance: quotes, price history with ready-made indicators, news, screeners, earnings and economic calendars, fundamentals, analyst views, options and live prices.
It is built for agents that follow news and trends and prepare trading decisions: answers are small, timestamped and honest about delays, and failures come back as actionable errors instead of empty data.
uvx yfinance-agent-mcp
Documentation · Tools · Changelog
as_of; quotes add market_state, quote_source and delay_min, because many exchanges are delayed by 15 minutes.rate_limited (with the seconds to wait), not_found, invalid_argument (with the valid values) and upstream_error, never a silent empty result.untrusted, so agents treat headlines as data, not instructions.You need uv. uvx downloads and runs the server; it talks MCP over stdio.
claude mcp add yfinance -- uvx yfinance-agent-mcp
Or install the plugin, which adds the server and a market-research skill:
/plugin marketplace add n-kostadinov/yfinance-agent-mcp
/plugin install yfinance@yfinance-agent-mcp
On Claude Code 2.1.275 or later this works in one step: /plugin install yfinance --marketplace n-kostadinov/yfinance-agent-mcp.
Add to claude_desktop_config.json:
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": ["yfinance-agent-mcp"]
}
}
}
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": ["yfinance-agent-mcp"]
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"yfinance": {
"type": "stdio",
"command": "uvx",
"args": ["yfinance-agent-mcp"]
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": ["yfinance-agent-mcp"]
}
}
}
More clients, including the Claude Agent SDK, are covered in the client guides.
| Tool | What it answers |
|---|---|
search_symbols | Which Yahoo symbol is "Nvidia", "SAP" or "gold"? |
get_quotes | Price, change, day range, volume and freshness for up to 25 symbols |
get_market_overview | Is the market open, and how are the indices doing? |
get_price_history | Trend, momentum and volatility: indicators plus the latest bars |
get_news | Latest news for symbols or a topic, newest first, publisher text marked untrusted |
screen_securities | Candidates from Yahoo's predefined screens or a custom query |
get_sector_industry | Leaders, ETFs and industries of a sector or industry |
get_events | Earnings, IPO, economic and split calendars; a symbol's next earnings |
get_fundamentals | Income, balance sheet, cash flow, valuation history, key ratios |
get_analyst_view | Price targets, ratings, rating changes, EPS and revenue estimates |
get_options | Calls and puts around the current price, every expiration |
get_ticker_dataset | Holders, insider trades, dividends, splits, SEC filings, fund holdings and more |
get_live_quotes | The price right now, from Yahoo's streaming feed |
Each tool is described in detail, with examples, in the tool reference.
Everything is optional; set environment variables in your client's server config.
| Variable | Default | Meaning |
|---|---|---|
YFINANCE_AGENT_MCP_RATE_LIMIT | 2 | Requests per second to Yahoo |
YFINANCE_AGENT_MCP_RATE_BURST | 5 | Requests allowed at once |
YFINANCE_AGENT_MCP_TTL_<CATEGORY> | per category | Seconds a cached answer stays valid, e.g. YFINANCE_AGENT_MCP_TTL_QUOTES=5 |
YFINANCE_AGENT_MCP_CACHE_DIR | user cache dir | Where yfinance keeps its timezone and cookie caches |
YFINANCE_AGENT_MCP_LANG / _REGION | en-US / US | Yahoo locale |
YFINANCE_AGENT_MCP_PROXY | none | Proxy URL for Yahoo requests |
YFINANCE_AGENT_MCP_LOG_LEVEL | WARNING | Log level (logs go to stderr) |
See the configuration guide for all cache categories.
yfinance-agent-mcp is not affiliated with, endorsed by, or vetted by Yahoo. It uses yfinance, which reads Yahoo Finance's publicly available endpoints; Yahoo's terms of service say the data is for personal use. Data can be delayed, incomplete or wrong. Nothing here is investment advice, and the server cannot trade. Read the full disclaimer.
This server is built on yfinance by Ran Aroussi and its contributors, which does the hard work of reading Yahoo Finance. yfinance is licensed under the Apache License 2.0; see its documentation and PyPI page. If this server is useful to you, consider sponsoring yfinance's author.
Issues and pull requests are welcome. See the contributing guide to set up the project with uv and run the tests.