Skip to main content
Glama
the13f-mcp

the13f-mcp

the13f-mcp

the13f 用のModel Context Protocolサーバー。機関投資家の13FインテリジェンスをClaude Desktop、Cursor、VS Code + Continue、およびMCP互換ホストに取り込みます。HTTPコードを記述する必要はありません。

重要な制限事項

調査データのみです。四半期末から最大45日遅れる、公開されたSECフォーム13Fの提出書類に基づいています。過去の機関投資家のポジションは将来のパフォーマンスを予測するものではありません。ここに記載されている内容は投資助言を構成するものではありません。すべてのツールの応答には disclaimer フィールドが含まれており、ホストLLMは生成する分析結果とともにこれを表示する必要があります。

Related MCP server: congress-whales

インストール

uvx the13f-mcp

または、Python環境を自分で管理したい場合は pip install the13f-mcp を実行してください。Python 3.11以降が必要です。

無料APIキーの取得

無料、支払い不要、クレジットカード不要:

  1. https://the13f.com/developers/ にアクセス

  2. メールアドレスを入力し、Cloudflare Turnstileのチャレンジを解決

  3. pf13f_ で始まるキーをコピー — 一度しか表示されません

  4. MCPホストの設定に THE13F_API_KEY として貼り付けます(下記参照)

  5. ホストを再起動

無料ティア:1日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を再起動します。MCPツールリストにThe13fツールが表示されるはずです。

Cursor

設定 → MCP → サーバーの追加。同じJSONブロックを「Custom」フィールドに貼り付けます。

VS Code with Continue

設定 → experimental.modelContextProtocolServers → THE13F_API_KEY を環境変数に含めた uvx the13f-mcp を実行する stdio トランスポートを追加します。https://the13f.com/developers/signup-success のキー表示ページには、キーが入力済みのコピー&ペースト可能なスニペットが表示されています。

利用可能なツール — v0.1.0 (Readティア、無料)

ツール

機能

list_quarters

保有データがあるすべての四半期 + 最新の四半期

search_managers

13F提出者を名前でオートコンプリート

get_manager_holdings

CIK + 四半期ごとの全ポジション

get_manager_holdings_bulk

1回の呼び出しで最大25個の (cik, quarter) ペアを取得

list_all_managers

マネージャーごとの要約統計を含む8,600以上の提出者リスト

find_similar_managers

ポートフォリオを全提出者と照合

get_consensus_portfolio

四半期ごとの最も広く保有されている証券

get_market_regime

機関投資家のレジームスナップショット (IIOIコンポジット、状態、遷移)

get_sector_flows

セクターごとの資本フローとリスク姿勢

計画中のツール — 今後のバージョン

バージョン

ツール

要件

v0.2.0

get_security_signals, get_security_signals_bulk, get_portfolio_signals

Standardティアのサブスクリプション

v0.3.0

generate_manager_report, generate_security_report, generate_sector_report, check_report_status, wait_and_download_report

Standardティア + 保存されたカード; 2段階確認

無料ティアのReadツールは、データを探索し、それに対するプロンプトを作成するのに十分です。シグナルおよびレポートツールは、有料ティアの課金システムの実装を待っています。

プロンプト例

"2025年第4四半期時点のバークシャー・ハサウェイのトップ20ポジションを取得し、四半期比で最も増加したものを要約してください。"

"私はAAPL、MSFT、NVDAを均等配分で保有しています。私のポートフォリオに最も近いポートフォリオを持つ5人の機関投資家マネージャーを見つけてください。"

"13F提出者が前四半期に最も積極的に削減したセクターは何ですか?その削減を主導したトップ3のマネージャーを教えてください。"

MCPホストのLLMが適切なツールを選択し、引数を入力し、disclaimer を表示して、結果を構造化されたJSONとして返します。

環境変数

変数

デフォルト

制御内容

THE13F_API_KEY

(なし)

pf13f_ キー。これがない場合、ツールはサインアップページへのリンクを含む構造化された「無料サインアップが必要」という応答を返します。

THE13F_API_BASE_URL

https://api.the13f.com

the13fの gui_server のローカルコピーに対して開発する場合のオーバーライド。

THE13F_MCP_TIMEOUT

30

リクエストごとのHTTPタイムアウト(秒)。最小5。

ソース

公開ソース: https://github.com/pickelfintech/the13f-mcp。これはPyPI、Glama.ai、およびMCPコミュニティリストが参照しているスナップショットです。GitHubリポジトリは gitlab.com/pickel-fintech/the13f-mcp のプッシュミラーであり、GitLabがプライマリであり、リリースCIも実行されています。バグ報告やPRはどちらでも受け付けています。

ライセンス

MIT — LICENSE を参照してください。このクライアントが呼び出すホスト型API api.the13f.com は別のサービスです。無料のAPIキー(1日100回呼び出し)が必要です。サインアップは https://the13f.com/developers/ から行ってください。

サポート

tom@pickelfintech.com — ツール呼び出しでエラーが発生した場合は、返された request_id フィールドを引用して連絡すると迅速に対応できます。

ライセンス

MIT。LICENSE を参照してください。MCPサーバーのソースはMITライセンスです。the13f API自体の使用は https://the13f.com/terms.html の利用規約に準拠します。

Available Tools

9 tools
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": "..."}

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

    A4.1/5.0

    Scored across 9 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Provides 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.
      36
      416
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Connects 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.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables 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.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      7
      1
      MIT