fundlens

v0.1.1
io.github.mguay22/fundlens Checked 1 day ago Published 3 months ago

SEC fund holdings for AI agents: who holds X, what changed, returns, flows, and fund overlap.

Values you need

VariableWhat it is
FUNDLENS_API_KEYrequired secret FundLens API key (free tier available at https://fundlens.io)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add fundlens -e 'FUNDLENS_API_KEY=<FUNDLENS_API_KEY>' -- npx -y --package=@fundlens/mcp@0.1.1 fundlens-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "fundlens": {
      "args": [
        "-y",
        "--package=@fundlens/mcp@0.1.1",
        "fundlens-mcp"
      ],
      "command": "npx",
      "env": {
        "FUNDLENS_API_KEY": "<FUNDLENS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "fundlens": {
      "args": [
        "-y",
        "--package=@fundlens/mcp@0.1.1",
        "fundlens-mcp"
      ],
      "command": "npx",
      "env": {
        "FUNDLENS_API_KEY": "<FUNDLENS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FUNDLENS_API_KEY",
      "id": "fundlens-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "fundlens": {
      "args": [
        "-y",
        "--package=@fundlens/mcp@0.1.1",
        "fundlens-mcp"
      ],
      "command": "npx",
      "env": {
        "FUNDLENS_API_KEY": "${input:fundlens-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.fundlens]
command = "npx"
args = ["-y", "--package=@fundlens/mcp@0.1.1", "fundlens-mcp"]
env = { "FUNDLENS_API_KEY" = "<FUNDLENS_API_KEY>" }

For AI agents

  1. Ask the user for: FUNDLENS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_funds, get_fund, get_holdings, get_holdings_history, get_exposures, who_holds, diff_holdings, fund_overlap, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json