MCP Etf Holdings
Find which ETFs hold a stock, compare funds and pull holdings using Yahoo Finance data
MCP Etf Holdings is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.6.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-etf-holdings -- uvx mcp-etf-holdingsAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-etf-holdings": {
"command": "uvx",
"args": [
"mcp-etf-holdings"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-etf-holdings": {
"command": "uvx",
"args": [
"mcp-etf-holdings"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-etf-holdings": {
"command": "uvx",
"args": [
"mcp-etf-holdings"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-etf-holdings": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-etf-holdings"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-etf-holdings -- uvx mcp-etf-holdingsOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-etf-holdings]
command = "uvx"
args = ["mcp-etf-holdings"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-etf-holdings": {
"command": "uvx",
"args": [
"mcp-etf-holdings"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Or run: gemini mcp add -s user mcp-etf-holdings uvx -- mcp-etf-holdings
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-etf-holdings": { "command": "uvx", "args": [ "mcp-etf-holdings" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About MCP Etf Holdings
The reverse lookup is the standout here: name a stock, by ticker or company name, and the server returns the ETFs that hold it, sorted by the stock's weight. A companion summary joins that with each fund's expense ratio and assets, which suits questions like the cheapest way to get exposure to one company. The README warns that only top holdings (roughly 10 to 15 per fund) are checked, so a stock held lower down will not appear.
Other tools cover fund metadata, side-by-side comparison of up to 10 ETFs in one table, top holdings with weights, ETF search by theme, and symbol lookup. Five prompt templates appear as slash commands in Claude clients, including a portfolio check-up for overlap.
Data comes live from Yahoo Finance and needs no API key. It runs locally over stdio from the PyPI package with uvx, and Python 3.11 or later is required.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 7 tools read data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- etf_info
- Metadata for one ETF
- compare_etfs
- Compares several ETFs in one table
- etf_holdings
- Top holdings of an ETF with portfolio weights
- find_etfs_holding_stockName suggests: reads
- Finds which ETFs hold a given stock
- stock_exposure_summary
- Reverse lookup joined with each fund's cost and size
- lookup_symbolName suggests: reads
- Resolves a company or fund name to its ticker
- search_etfsName suggests: reads
- Finds ETFs by name, theme or category
What it does
- Reverse stock lookup
- Lists ETFs holding a stock, ordered by weight.
- Exposure summary
- Joins holdings with expense ratio and assets.
- Fund comparison
- Up to 10 ETFs in one table.
- Fund details
- Name, category, AUM, expense ratio, yield and returns.
- Theme search
- Finds ETFs by name, theme or category.
- Prompt templates
- Five templates, including a portfolio check-up.
Good for
- Find the cheapest ETF for exposure to one stock
- Check whether your funds overlap
- Compare S&P 500 trackers on cost
- Explore semiconductor or dividend ETFs
Pricing
Open source
Free; the README shows a licence badge and no API key is needed
MCP Etf Holdings FAQ
Do I need an API key?
No. Data comes live from Yahoo Finance without a key.
How deep is the holdings search?
Only top holdings, roughly 10 to 15 per ETF.
What is required to run MCP Etf Holdings?
Python 3.11 or later, uv and an MCP client.
Can I search by company name?
Yes, names are resolved to tickers and the output says which was used.
Is MCP Etf Holdings free?
Yes. MCP Etf Holdings is open source, so you can use and self-host it for free.
How do I add MCP Etf Holdings to Claude Code?
Run this command in your terminal: claude mcp add mcp-etf-holdings -- uvx mcp-etf-holdings
What are the best alternatives to MCP Etf Holdings?
The closest alternatives to MCP Etf Holdings are Agent-Native Analytics, Solana MCP by Vybe, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and Tapetide - Indian Stock Market MCP.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


