Purpose
the13f-mcp is a Model Context Protocol (MCP) server designed to integrate institutional 13F intelligence into Claude Desktop, Cursor, VS Code + Continue, and any MCP-compatible host. Without requiring users to write HTTP code, it allows the host's large language model to call the relevant tools and retrieve institutional holdings data based on public 13F filings with the SEC EDGAR.
Main Capabilities
The server provides nine read-only tools (Read tier), specifically including:
- Manager Search: Find institutional managers.
- Holdings Query: Retrieve the holdings details of a specified manager.
- Similarity Analysis: Based on a user-provided stock portfolio, find the institutional managers with the most similar holdings.
- Market Status: Analyze market status.
- Sector Fund Flows: Analyze fund flows across sectors.
Each tool's response includes a disclaimer field, and the host large language model should display it along with any generated analysis.
How to Use
- Get a free API key: Visit https://the13f.com/developers/ , enter your email and complete the Cloudflare Turnstile verification, copy the key starting with
pf13f_(shown only once), and paste it asTHE13F_API_KEYinto the MCP host configuration. - Installation: Can be installed via pip (
pip install the13f-mcp), or run with uvx. Requires Python 3.11+. - Configure the MCP host:
- Claude Desktop: Edit the configuration file (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json;Windows:%APPDATA%/Claude/claude_desktop_config.json), fill in the above JSON configuration block, then restart Claude Desktop. - Cursor: In Settings → MCP → Add Server, paste the same JSON block into the "Custom" field.
- VS Code with Continue: In Settings →
experimental.modelContextProtocolServersadd a stdio transport, runuvx the13f-mcpand setTHE13F_API_KEYin the environment variables.
- Claude Desktop: Edit the configuration file (macOS:
- Usage: After configuration is complete, the host's large language model will automatically select the appropriate tool, fill in parameters, display the disclaimer, and return results as structured JSON.
Example prompts:
- "Pull Berkshire Hathaway's top 20 holdings as of Q4 2025, and summarize the parts with the largest quarter-over-quarter increase."
- "I hold AAPL, MSFT, and NVDA equally weighted. Find the 5 institutional managers whose holdings are most similar to mine."
- "Last quarter, which sector did 13F filers reduce most aggressively? Show the three managers with the largest reductions."
Use Cases
Suitable for financial research, investment analysis, academic research, and other scenarios that require quickly obtaining institutional 13F holdings data, and especially suitable for use in AI coding assistants or conversational assistants that support MCP.
Limitations
- Nature of the data: Based only on publicly disclosed SEC 13F filings, which lag up to 45 days after the end of the quarter.
- Not investment advice: Past institutional holdings do not represent future performance and do not constitute investment advice.
- Free quota: The free tier allows 100 read calls per day, and the quota resets at UTC midnight.
- Paid tools: Signal and report tools are planned for future versions and require waiting for the paid-tier billing system to go live.
- Environment requirements: Requires Python 3.11+.
- License: The MCP server source code is licensed under MIT (see LICENSE), but use of the the13f API is subject to https://the13f.com/terms.html 's terms of service.
Other Information
- Public source code:https://github.com/pickelfintech/the13f-mcp (this is the snapshot pointed to by PyPI, Glama.ai, and MCP community listings, and is a push mirror of the GitLab repository gitlab.com/pickel-fintech/the13f-mcp; GitLab is the main repository and hosts the release CI).
- Issues or PRs can be submitted on either platform.
- Contact email: tom@pickelfintech.com. When reporting issues, please quote the value returned by the failed tool call.
request_idfields for quick troubleshooting.