SuperAPIAI Directory

the13f-mcp

github.com · AI developer platforms

Institutional 13F data from SEC EDGAR: manager search, holdings lookup, portfolio similarity, consensus portfolio, market regime and sector flows.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS

About this tool

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

  1. 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 as THE13F_API_KEY into the MCP host configuration.
  2. Installation: Can be installed via pip (pip install the13f-mcp), or run with uvx. Requires Python 3.11+.
  3. 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.modelContextProtocolServers add a stdio transport, run uvx the13f-mcp and set THE13F_API_KEYin the environment variables.
  4. 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_id fields for quick troubleshooting.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools