the13f-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| THE13F_API_KEY | No | Your pf13f_ API key. Without it, tools return a structured 'free signup required' response with a link to the signup page. | |
| THE13F_MCP_TIMEOUT | No | Per-request HTTP timeout in seconds. Minimum 5. | 30 |
| THE13F_API_BASE_URL | No | Override for local development against a running copy of the13f's gui_server. | https://api.the13f.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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. |
| 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..." } |
| 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": "..." } |
| 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. |
| find_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": "..."} |
| 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": ..., ...}, ...]} |
| 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", ...} |
| 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": ..., ...}, ...]} |
| 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). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| quarterly_attribution | Walk through what drove a portfolio's quarter-over-quarter value change. Pulls institutional context for each holding and identifies which positions had the strongest signals. |
| find_my_peers | Find the top institutional managers whose portfolios most resemble (or most diverge from) yours. Useful for competitor benchmarking and idea generation. |
| sector_brief | Short institutional-positioning brief for a single GICS sector this quarter. Pulls flow numbers, top accumulators, and breadth context. |
| manager_change_summary | Compare a single manager's holdings between two quarters and summarize what changed: new positions, exits, concentration shifts, sector reallocations. |
| family_office_quarterly | End-of-quarter institutional-positioning briefing for a family-office portfolio. Combines portfolio-level signals, sector tilts, peer comparison, and consensus drift into one prose summary suitable for a quarterly partner update. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| AGENTS.md (the13f Platform agent guide) | Full agent-facing documentation. Covers authentication, rate limits, error handling, signal interpretation, and the compliance framing every response carries. Read this once at the start of a session. |
| Signal Glossary (plain-English definitions) | What flow_intensity, net_buyer_count, persistence_quarters, DeltaV, and other terms in our API responses mean. Use this when interpreting numbers for an end user. |
| Available Quarters (live) | JSON list of all quarter codes with usable data, plus the latest quarter. Refresh at the start of each session - new filings drop ~45 days after each quarter ends. |
| GICS Sectors (11 canonical names) | The 11 GICS sector names used by every endpoint that accepts a sector parameter. Match these exactly - we reject typos at the route boundary. |
| Compliance Disclaimer (Research data only) | The canonical compliance disclaimer that accompanies every API response. Surface this verbatim when relaying any the13f data to the human user. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pickelfintech/the13f-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server