Skip to main content
Glama
the13f-mcp

the13f-mcp

the13f-mcp

the13f를 위한 Model Context Protocol 서버입니다. Claude Desktop, Cursor, VS Code + Continue 및 모든 MCP 호환 호스트에서 기관 13F 인텔리전스를 사용할 수 있게 해주며, 별도의 HTTP 코드를 작성할 필요가 없습니다.

중요 제한 사항

연구 데이터 전용입니다. 분기 말로부터 최대 45일 지연되는 공개된 SEC Form 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. 호스트 재시작

무료 티어: 일일 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 (읽기 티어, 무료)

도구

기능

list_quarters

보유 데이터가 있는 모든 분기 + 최신 분기

search_managers

이름으로 13F 보고자 자동 완성

get_manager_holdings

특정 CIK + 분기에 대한 전체 포지션

get_manager_holdings_bulk

한 번의 호출로 최대 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

스탠다드 티어 구독

v0.3.0

generate_manager_report, generate_security_report, generate_sector_report, check_report_status, wait_and_download_report

스탠다드 티어 + 저장된 카드; 2단계 확인

무료 티어 읽기 도구는 데이터를 탐색하고 프롬프트를 작성하기에 충분합니다. 신호 및 보고서 도구는 유료 티어 결제 시스템이 준비된 후 제공될 예정입니다.

프롬프트 예시

"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.the13f.com API는 별도의 서비스입니다. 무료 API 키(일일 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