# MCP Etf Holdings

> MCP Etf Holdings is an open-source MCP server for finance and payments. Find which ETFs hold a stock, compare funds and pull holdings using Yahoo Finance data. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/vlearner/mcp-etf-holdings
- **MCP Registry name:** io.github.vlearner/mcp-etf-holdings
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-etf-holdings -- uvx mcp-etf-holdings
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-etf-holdings -- uvx mcp-etf-holdings
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-etf-holdings]
command = "uvx"
args = ["mcp-etf-holdings"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-etf-holdings": {
      "command": "uvx",
      "args": [
        "mcp-etf-holdings"
      ]
    }
  }
}
```

## Tools

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_stock` (name suggests: reads): Finds which ETFs hold a given stock
- `stock_exposure_summary`: Reverse lookup joined with each fund's cost and size
- `lookup_symbol` (name suggests: reads): Resolves a company or fund name to its ticker
- `search_etfs` (name suggests: reads): Finds ETFs by name, theme or category

## 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.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/mcp-etf-holdings
