the13f-mcp
This server provides access to institutional 13F filing data (SEC-mandated quarterly disclosures) from the13f.com, enabling financial research on hedge fund and institutional manager portfolios without writing HTTP code.
List Available Quarters (
list_quarters): Retrieve all quarters with 13F holdings data, including the most recent quarter.Search Managers (
search_managers): Find 13F filers by name via case-insensitive substring search (e.g., "berkshire" → Berkshire Hathaway).Get Manager Holdings (
get_manager_holdings): Fetch the full position list for a specific manager (by SEC CIK) for a given quarter.Bulk Holdings Lookup (
get_manager_holdings_bulk): Retrieve holdings for up to 25(CIK, quarter)pairs in a single call — useful for comparing managers or tracking one over time.List All Managers (
list_all_managers): Access the full universe of 8,600+ 13F filers with AUM and summary stats, optionally filtered to active managers only.Find Similar Managers (
find_similar_managers): Match a custom portfolio (tickers + optional weights) against the institutional universe to find the most similar or most different managers.Get Consensus Portfolio (
get_consensus_portfolio): Identify the top most-widely-held securities across all institutional managers for a given quarter.Get Market Regime (
get_market_regime): Retrieve an institutional sentiment snapshot including the IIOI composite score, regime state (e.g., "High Optimism"), and transition signals.Get Sector Flows (
get_sector_flows): Analyze per-sector institutional capital flows and risk posture for a given quarter, with optional filtering by GICS sector.
the13f-mcp
Model Context Protocol server for the13f. Brings institutional 13F intelligence into Claude Desktop, Cursor, VS Code + Continue, and any MCP-compatible host — no HTTP code required on your side.
Important limitations
Research data only. Sourced from publicly disclosed SEC Form 13F filings,
which lag quarter-end by up to 45 days. Past institutional positioning does
not predict future performance. Nothing here constitutes investment advice.
Every tool's response includes a disclaimer field; the host LLM should
surface it alongside any analysis it produces.
Related MCP server: congress-whales
Install
uvx the13f-mcpOr pip install the13f-mcp if you prefer to manage Python environments
yourself. Python 3.11+ required.
Get a free API key
Free, no payment, no credit card:
Enter your email and solve the Cloudflare Turnstile challenge
Copy your
pf13f_key — shown oncePaste it into your MCP host's config as
THE13F_API_KEY(see below)Restart the host
Free tier: 100 read calls per day; quota rolls at UTC midnight. Signal and report tools arrive in later minor versions when paid tiers launch.
Configure your MCP host
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"the13f": {
"command": "uvx",
"args": ["the13f-mcp"],
"env": {
"THE13F_API_KEY": "pf13f_..."
}
}
}
}Restart Claude Desktop. The13f tools should appear in the MCP tool list.
Cursor
Settings → MCP → Add Server. Paste the same JSON block into the "Custom" field.
VS Code with Continue
Settings → experimental.modelContextProtocolServers → add a stdio
transport running uvx the13f-mcp with THE13F_API_KEY in env. The key
reveal page at https://the13f.com/developers/signup-success shows a
copy-paste-ready snippet with the key already filled in.
Available tools — v0.1.0 (Read tier, free)
Tool | What it does |
| All quarters with holdings data + the latest quarter |
| Autocomplete 13F filers by name |
| Full positions for a CIK + quarter |
| Up to 25 |
| Universe of 8,600+ filers with per-manager summary stats |
| Match a portfolio against the universe |
| Most-widely-held securities per quarter |
| Institutional regime snapshot (IIOI composite, state, transition) |
| Per-sector capital flows and risk posture |
Planned tools — later versions
Version | Tools | Requires |
v0.2.0 |
| Standard tier subscription |
v0.3.0 |
| Standard tier + stored card; two-step confirm |
The free-tier Read tools are enough to explore the data and build prompts against it. Signal and report tools deliberately wait on the paid-tier billing plumbing.
Example prompts
"Pull Berkshire Hathaway's top 20 positions as of Q4 2025 and summarize what grew the most quarter-over-quarter."
"I own AAPL, MSFT, and NVDA equal-weight. Find the 5 institutional managers whose portfolios most closely resemble mine."
"What sector did 13F filers most aggressively reduce last quarter? Show me the top three managers leading the reduction."
The MCP host's LLM picks the right tool, fills in arguments, surfaces the
disclaimer, and returns the result as structured JSON.
Environment variables
Var | Default | What it controls |
| (none) | Your |
|
| Override for local development against a running copy of the13f's gui_server. |
|
| Per-request HTTP timeout in seconds. Minimum 5. |
Source
Public source: https://github.com/pickelfintech/the13f-mcp. This is the
snapshot that PyPI, Glama.ai, and the MCP community list point at. The
GitHub repo is a push-mirror of the GitLab one at
gitlab.com/pickel-fintech/the13f-mcp; GitLab remains the primary and
also carries the release CI. Bug reports and PRs are accepted on either
side.
License
MIT — see LICENSE. The hosted api.the13f.com API that this
client calls is a separate service. A free API key (100 calls/day) is
required; sign up at https://the13f.com/developers/.
Support
tom@pickelfintech.com — quote the request_id field returned by any failing
tool call for fastest triage.
License
MIT. See LICENSE. The MCP server source is MIT-licensed; use of the the13f API itself is governed by the Terms of Service at https://the13f.com/terms.html.
Available Tools
9 toolsfind_similar_managersA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Match a portfolio against the 13F universe and return the closest (or deliberately-different) managers.
Args: holdings: list of {"ticker": "AAPL", "weight": 0.05}; weight optional (equal weights default). quarter: defaults to latest quarter if None. top_n: 1-50, default 10. direction: "similar" (closest matches) or "unlike" (most different).
Returns: {"quarter": "...", "matches": [{"cik": ..., "similarity_score": ..., ...}, ...], "disclaimer": "..."}
Inputs: holdings (required), quarter, top_n, direction.
get_consensus_portfolioA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return the top-N consensus portfolio - securities held by the most institutional managers.
Args: quarter: quarter code (e.g. "q4y2025").
Returns: {"quarter": "...", "count": 50, "securities": [{"ticker": ..., "weight_pct": ..., ...}, ...]}
Inputs: quarter (required).
get_manager_holdingsA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return all positions held by a 13F filer in a given quarter.
Args: cik: zero-padded 10-digit SEC CIK (e.g. "0001037389"). quarter: quarter code like "q4y2025".
Returns: { "cik": "...", "quarter": "...", "n_positions": 3185, "total_value_thousands": 64461244358.0, "holdings": [{"CUSIP": ..., "TICKER": ..., "VALUE": ..., ...}, ...], "disclaimer": "..." }
Inputs: cik (required), quarter (required).
get_manager_holdings_bulkA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Look up holdings for many (cik, quarter) pairs in one call (Tier 3).
More efficient than calling get_manager_holdings repeatedly: groups by quarter so each parquet file is read at most once. Single billing event regardless of how many pairs you supply (up to 25 per call).
Args: pairs: list of {"cik": "...", "quarter": "..."} dicts. Min 1, max 25.
Returns: { "results": [ {"cik": "0001067983", "quarter": "q4y2025", "status": "ok", "n_positions": 42, "total_value_thousands": ..., "holdings": [...]}, {"cik": "0001234567", "quarter": "q4y2025", "status": "not_found", "error": "..."}, ... ], "n_requested": 5, "n_ok": 4, "n_failed": 1 }
Per-pair errors do NOT raise; check status field on each result. Use this when you need holdings for multiple managers/quarters at once (e.g. comparing a portfolio across periods or surveying peer institutions).
Inputs: pairs (required).
get_market_regimeA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return the institutional regime snapshot for a quarter (IIOI composite, regime state, transition).
Args: quarter: quarter code.
Returns: {"quarter": "...", "iioi_composite": 62.4, "regime_state": "High Optimism", ...}
Inputs: quarter (required).
get_sector_flowsA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return per-sector institutional capital flow intelligence for a quarter.
Args: quarter: quarter code. sector: optional GICS sector to filter (e.g. "Information Technology").
Returns: {"quarter": "...", "sectors": [{"gics_sector": ..., "net_capital_flow_thousands": ..., "risk_posture": ..., ...}, ...]}
Inputs: quarter (required), sector.
list_all_managersA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return the full universe of 13F filers with per-manager AUM.
Args: active_only: if true (default), only managers present in the latest quarter.
Returns: { "count": 8625, "active_only": true, "managers": [{"cik": "...", "name": "...", "latest_aum": ..., ...}, ...], "disclaimer": "..." }
NOTE: response can be ~6 MB JSON; consider filtering client-side.
Inputs: active_only.
list_quartersA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Return all quarter codes with available data.
Returns: {"quarters": ["q1y2013", ..., "q4y2025"], "latest": "q4y2025"}
Use the latest quarter by default unless the user specifies one.
Inputs: no named parameters.
search_managersA
Research data only. Returns disclosed institutional positions; do not infer manager intent or future direction. Find institutional 13F filers by name (case-insensitive substring, min 2 chars).
Args: query: substring of the manager's name (e.g. "renaissance", "berkshire"). limit: max results to return, 1-50, default 10.
Returns: { "query": "...", "results": [ {"cik": "0001037389", "name": "Renaissance Technologies Llc", "latest_aum": 64461244358, "available_quarters": [...]}, ... ], "disclaimer": "Research data only..." }
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct operation: searching managers, retrieving holdings, comparing portfolios, getting consensus data, sector flows, regime states, and quarter listings. No two tools have overlapping purposes.
All tool names follow a consistent verb_noun pattern (find_, get_, list_, search_) with clear action and domain. The only minor deviation is 'find_similar_managers' being more specific than others, but it remains readable.
With 9 tools, the server covers a well-scoped domain of 13F data analysis including lookups, comparisons, and market overview. Each tool serves a clear purpose without bloat.
The tool set covers key workflows: manager search, holdings retrieval (single and bulk), portfolio comparison, consensus portfolio, sector flows, and market regime. A minor gap is the lack of a tool to retrieve historical quarter-by-quarter changes for a single manager, but the core CRUD and analysis operations are present.
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Your investing research inside Claude: watchlists, financial ratios, reverse-DCF valuations, investment theses, notes, portfolio, earnings calendar and news for the companies you follow. 70 read and write tools; ask what's on your morning desk, rank a watchlist by ROE, log a trade or save a thesis. OAuth sign-in. Free to start.
SEC filings for Claude, ChatGPT, Cursor — 23 tools + 5 recipes. Financials, insider, 13F, funds.
SEC filings — 13F, Form 4, 8-K, 13D, IPO and short-interest data — as 17 agent tools.
Related MCP Servers
- AlicenseBqualityBmaintenanceProvides 32 trading analysis tools for AI-powered market analysis, including real-time data, technical indicators, options Greeks, scanners, and Interactive Brokers portfolio management, all accessible via natural language in Claude Desktop.36416MIT
- FlicenseNot gradedqualityCmaintenanceConnects Claude to live U.S. Congress stock trades and institutional 13F holdings from free public sources, enabling natural language queries about political insider trading and fund overlap.-
- FlicenseNot gradedqualityAmaintenanceEnables natural-language research across SEC filings, earnings call transcripts, company financials, stock and crypto market data, and prediction markets, returning structured, source-backed answers. It also exposes deep-research synthesis agents and live documentation search to Claude Desktop, Cursor, and other MCP clients.-
- AlicenseAqualityBmaintenanceEnables MCP clients such as Claude Desktop and Cursor to query US equity market data, search SEC filings with citations, retrieve XBRL financials, assess portfolio risk, and draft simulated orders that require human confirmation.71MIT