the13f-mcp
the13f-mcp
Сервер протокола контекста модели (MCP) для the13f. Предоставляет институциональную аналитику 13F в Claude Desktop, Cursor, VS Code + Continue и любой хост, совместимый с MCP — без необходимости писать HTTP-код с вашей стороны.
Важные ограничения
Только исследовательские данные. Источником являются публично раскрытые отчеты SEC по форме 13F,
которые запаздывают относительно конца квартала на срок до 45 дней. Прошлое институциональное позиционирование не
предсказывает будущие результаты. Ничто из представленного здесь не является инвестиционным советом.
Ответ каждого инструмента включает поле disclaimer; хост-LLM должен
отображать его вместе с любым анализом, который он создает.
Related MCP server: congress-whales
Установка
uvx the13f-mcpИли pip install the13f-mcp, если вы предпочитаете управлять средами Python
самостоятельно. Требуется Python 3.11+.
Получение бесплатного API-ключа
Бесплатно, без оплаты, без кредитной карты:
Посетите https://the13f.com/developers/
Введите свой email и решите задачу Cloudflare Turnstile
Скопируйте свой ключ
pf13f_— показывается один разВставьте его в конфигурацию вашего MCP-хоста как
THE13F_API_KEY(см. ниже)Перезапустите хост
Бесплатный уровень: 100 вызовов чтения в день; квота обновляется в полночь по UTC. Инструменты сигналов и отчетов появятся в более поздних минорных версиях после запуска платных уровней.
Настройка вашего MCP-хоста
Claude Desktop
Отредактируйте ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) или %APPDATA%/Claude/claude_desktop_config.json (Windows):
{
"mcpServers": {
"the13f": {
"command": "uvx",
"args": ["the13f-mcp"],
"env": {
"THE13F_API_KEY": "pf13f_..."
}
}
}
}Перезапустите Claude Desktop. Инструменты The13f должны появиться в списке инструментов MCP.
Cursor
Settings → MCP → Add Server. Вставьте тот же блок JSON в поле "Custom".
VS Code с Continue
Settings → experimental.modelContextProtocolServers → добавьте транспорт stdio,
запускающий uvx the13f-mcp с THE13F_API_KEY в переменных окружения. Страница
отображения ключа по адресу https://the13f.com/developers/signup-success содержит готовый
фрагмент для копирования с уже заполненным ключом.
Доступные инструменты — v0.1.0 (Уровень чтения, бесплатно)
Инструмент | Что он делает |
| Все кварталы с данными об активах + последний квартал |
| Автозаполнение подателей 13F по имени |
| Полные позиции для CIK + квартал |
| До 25 пар |
| Вселенная из 8600+ подателей со сводной статистикой по каждому |
| Сопоставление портфеля со вселенной |
| Наиболее широко удерживаемые ценные бумаги по кварталам |
| Снимок институционального режима (композитный индекс IIOI, состояние, переход) |
| Отраслевые потоки капитала и профиль риска |
Запланированные инструменты — будущие версии
Версия | Инструменты | Требования |
v0.2.0 |
| Подписка уровня Standard |
v0.3.0 |
| Уровень Standard + сохраненная карта; двухэтапное подтверждение |
Инструменты чтения бесплатного уровня достаточны для изучения данных и создания промптов на их основе. Инструменты сигналов и отчетов намеренно ожидают внедрения биллинга для платных уровней.
Примеры промптов
"Получи топ-20 позиций Berkshire Hathaway по состоянию на 4 квартал 2025 года и резюмируй, что выросло больше всего по сравнению с предыдущим кварталом."
"У меня есть AAPL, MSFT и NVDA в равных долях. Найди 5 институциональных управляющих, чьи портфели наиболее похожи на мой."
"Какой сектор 13F-податели наиболее агрессивно сокращали в прошлом квартале? Покажи мне трех лучших управляющих, лидирующих в этом сокращении."
LLM MCP-хоста выбирает нужный инструмент, заполняет аргументы, отображает
disclaimer и возвращает результат в виде структурированного JSON.
Переменные окружения
Переменная | По умолчанию | Что контролирует |
| (нет) | Ваш ключ |
|
| Переопределение для локальной разработки с использованием запущенной копии gui_server от the13f. |
|
| Тайм-аут HTTP для каждого запроса в секундах. Минимум 5. |
Исходный код
Публичный исходный код: https://github.com/pickelfintech/the13f-mcp. Это
снимок, на который указывают PyPI, Glama.ai и сообщество MCP. Репозиторий GitHub является зеркалом
репозитория GitLab по адресу gitlab.com/pickel-fintech/the13f-mcp; GitLab остается основным
и также поддерживает CI релизов. Отчеты об ошибках и PR принимаются с обеих сторон.
Лицензия
MIT — см. LICENSE. Хостируемый API api.the13f.com, к которому обращается
этот клиент, является отдельной службой. Требуется бесплатный API-ключ (100 вызовов/день);
зарегистрируйтесь на https://the13f.com/developers/.
Поддержка
tom@pickelfintech.com — укажите поле request_id, возвращаемое любым неудачным
вызовом инструмента, для максимально быстрой обработки.
Лицензия
MIT. См. LICENSE. Исходный код MCP-сервера лицензирован по MIT; использование самого API the13f регулируется Условиями использования по адресу 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