Accesses, analyzes, and extracts data from SEC EDGAR filings using the edgartools Python library. Supports financial statements, XBRL data, insider trading (Form 4), institutional holdings (13F), and company filings (10-K, 10-Q, 8-K, DEF 14A).
Ships in alterlab-finance-economics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Python library for accessing all SEC filings since 1994 with structured data extraction.
| Scenario | Use Instead |
|---|---|
| Market prices, OHLCV, quotes, or technical indicators | alterlab-alpha-vantage |
| Macroeconomic time series (GDP, corporate profits, rates) by FRED series ID | alterlab-fred |
| Aggregate hedge-fund statistics from Form PF published by the OFR | alterlab-hedgefund-monitor |
| Federal debt, Treasury statements, or auction results | alterlab-usfiscaldata |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-alpha-vantage) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
The SEC requires identification for API access. Always set identity before any operations:
from edgar import set_identity
set_identity("Your Name [email protected]")
Set via environment variable to avoid hardcoding: EDGAR_IDENTITY="Your Name [email protected]".
edgartools sends this identity as the HTTP User-Agent the SEC asks for ("Sample Company Name AdminContact@.com") and throttles itself to 9 requests/second by default (EDGAR_RATE_LIMIT_PER_SEC), under the SEC's 10 requests/second fair-access ceiling — keep that default for sec.gov, because the SEC may block IP addresses that exceed it.
No install step: uv run resolves the package per run.
uv run --python ">=3.11" --with "edgartools>=5.58" python script.py
# For AI/MCP features:
uv run --python ">=3.11" --with "edgartools[ai]>=5.58" python script.py
Pin the interpreter: edgartools 5.x needs Python >= 3.10, and on an older default Python an
unpinned --with edgartools silently resolves 4.6.3 with the old API. API examples here are
checked against edgartools 5.58.0 (5.62.0 is current as of 2026-10). In 5.x, cashflow_statement() is a deprecated alias (removed in 6.0) — use cash_flow_statement().
from edgar import Company, find
company = Company("AAPL") # by ticker
company = Company(320193) # by CIK (fastest)
results = find("Apple") # by name search
# Company filings
filings = company.get_filings(form="10-K")
filing = filings.latest()
# Global search across all filings
from edgar import get_filings
filings = get_filings(2024, 1, form="10-K")
# By accession number
from edgar import get_by_accession_number
filing = get_by_accession_number("0000320193-23-000106")
# Form-specific object (most common approach)
tenk = filing.obj() # Returns TenK, EightK, Form4, ThirteenF, etc.
# Financial statements (10-K/10-Q)
financials = company.get_financials() # annual
financials = company.get_quarterly_financials() # quarterly
income = financials.income_statement()
balance = financials.balance_sheet()
cashflow = financials.cash_flow_statement()
# XBRL data
xbrl = filing.xbrl()
income = xbrl.statements.income_statement()
text = filing.text() # plain text
html = filing.html() # HTML
md = filing.markdown() # markdown (good for LLM processing)
filing.open() # open in browser
company.name # "Apple Inc."
company.cik # 320193
company.get_ticker() # "AAPL" (primary); company.tickers -> list
company.industry # "ELECTRONIC COMPUTERS"
company.sic # "3571"
company.shares_outstanding # 15115785000.0
company.public_float # 2899948348000.0
company.fiscal_year_end # "0930"
company.get_exchanges() # ["Nasdaq"]
| Form | Object | Key Properties |
|---|---|---|
| 10-K | TenK | financials, income_statement, balance_sheet, risk_factors |
| 10-Q | TenQ | financials, income_statement, balance_sheet |
| 8-K | EightK | items, press_releases |
| Form 4 | Form4 | reporting_owners, insider_name, market_trades, to_dataframe() |
| 13F-HR | ThirteenF | infotable, total_value, holdings |
| DEF 14A | ProxyStatement | executive_compensation, voting_proposals, peo_total_comp |
| SC 13D/G | Schedule13D / Schedule13G | total_shares, total_percent, items (13D) |
| Form D | FormD | offering_data, related_persons, primary_issuer |
Important: filing.financials does NOT exist. Use filing.obj().financials.
filing.financials → AttributeError; use filing.obj().financialsget_filings() has no limit param; use .head(n) or .latest(n)amendments=False for multi-period analysis (amended filings may be incomplete)None before accessing optional dataLoad these when you need detailed information:
.docs and .to_context() propertiesCite the filing (company, form, accession number, filing date) for every figure you report.
Part of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)references/ai-integration.md (opens in a new tab)references/companies.md (opens in a new tab)references/data-objects.md (opens in a new tab)references/entity-facts.md (opens in a new tab)references/filings.md (opens in a new tab)references/financial-data.md (opens in a new tab)references/xbrl.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
7 skills in this plugin
/alterlab-alpha-vantageRetrieves market and company data with no API key — daily OHLCV price history with splits and dividends (Yahoo Finance chart endpoint, unofficial), company fundamentals from SEC EDGAR XBRL (revenue, net income, EPS, shares), FX, crypto, commodity and macro series from FRED's public CSV — and computes technical indicators (SMA, EMA, RSI, MACD, Bollinger Bands) locally; an optional ALPHAVANTAGE_API_KEY adds the Alpha Vantage REST API (news sentiment, earnings transcripts, options, server-side indicators). Use when fetching stock prices (OHLCV), company fundamentals (income statement, EPS, P/E, market cap), forex rates, Bitcoin/crypto prices, oil/gas/gold prices, CPI or treasury yields for finance research, calculating technical indicators, building news-sentiment event studies, or when the Alpha Vantage API is named. Part of the AlterLab Academic Skills suite./alterlab-denarioRuns a Denario-style end-to-end research pipeline from a described dataset with no API key — Claude itself plays every agent (idea maker and idea critic, methodologist, analyst who writes and runs the analysis code locally, paper writer) and produces idea.md, methods.md, results with figures and a journal-formatted LaTeX paper (APS revtex or plain LaTeX; AAS/JHEP/ICML/NeurIPS/PASJ with the venue's style file). The optional denario package (AstroPilot-AI; AG2 + LangGraph + cmbagent) runs the same stages with its own LLM keys. Use when automating research from a dataset description to a paper, generating hypotheses from a dataset, developing methodology, executing analysis, turning methods and results into a journal manuscript, or driving Denario (get_idea/get_method/get_results/get_paper). Part of the AlterLab Academic Skills suite./alterlab-finance-economics:alterlab-edgartoolsfrom alterlab-finance-economics
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-finance-economicsOther plugins' skills for the same job