parsec-edgar
Fast SEC EDGAR client and filing parser written in Rust, for Python. It also installs the parsec-edgar command-line tool and MCP server.
- Look up companies by ticker or CIK
- List a company's filings with form and date filters, including full history back to 1994
- Convert filing HTML (or old plain-text submissions) to clean text, with table rows kept on one line
- Split 10-K, 10-Q and 8-K filings into Item sections (Item 1A Risk Factors, Item 7 MD&A, 8-K Item 2.02, and so on)
- Search the full text of EDGAR, and bulk-download filings by form and date
- Stays within the SEC fair-access limit (8 requests per second by default, 10 at most) and caches archive documents on disk
pip install parsec-edgar
Wheels are built for Linux (x86-64 and ARM64), macOS (Intel and Apple silicon) and Windows (x86-64), for Python 3.10 and newer.
The SEC User-Agent requirement
The SEC requires every request to identify the caller with a name and contact email. Pass it to Client, or set PARSEC_EDGAR_USER_AGENT (the EDGAR_IDENTITY variable used by edgartools also works):
export PARSEC_EDGAR_USER_AGENT="Example Corp admin@example.com"
Python
import parsec_edgar as pe
client = pe.Client("Example Corp admin@example.com", cache_dir="~/.cache/parsec-edgar")
client.company("BRK.B") # {'cik': 1067983, 'ticker': 'BRK-B', ...}
filings = client.filings("MSFT", form=["10-K", "10-Q"], since="2024")
latest = client.latest("AAPL", "10-K") # a filing dict
text = client.text(latest) # clean text
for s in client.sections(latest):
print(s["id"], s["title"], len(s["text"]))
pe.html_to_text(html) # parse documents you already have
pe.extract_sections(text, "10-K")
Lookup failures raise LookupError, bad arguments raise ValueError, and network or HTTP failures raise parsec_edgar.EdgarError. Network calls release the GIL, so one client can be shared across threads; it stays within its rate limit.
Command line
parsec-edgar company AAPL
parsec-edgar filings AAPL --form 10-K --limit 5
parsec-edgar sections AAPL --form 10-K --item 1A --item 7 # JSON
parsec-edgar crawl --form 8-K --since 2026-11-05 --until 2026-11-06 --out 8k
python -m parsec_edgar runs the same command.
MCP server
parsec-edgar mcp runs a Model Context Protocol server, so Claude and other LLM clients can look up companies, list filings, search the full text of EDGAR and read filings one section at a time. With uv there is nothing to install first:
claude mcp add parsec-edgar -s user -e PARSEC_EDGAR_USER_AGENT="Example Corp admin@example.com" -- uvx parsec-edgar mcp
For Claude Desktop, add this to claude_desktop_config.json and restart it:
{
"mcpServers": {
"parsec-edgar": {
"command": "uvx",
"args": ["parsec-edgar", "mcp"],
"env": { "PARSEC_EDGAR_USER_AGENT": "Example Corp admin@example.com" }
}
}
}
The project README describes the MCP tools, bulk crawling, full-text search, the accuracy benchmark and the Rust library.
License
MIT
Metadata
Release files for parsec-edgar 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| parsec_edgar-0.1.1.tar.gz | 138.2 kB | With provenance | Details for parsec_edgar-0.1.1.tar.gz |
Built distributions (wheels)
Total release size: 31.2 MB
Release files / parsec_edgar-0.1.1.tar.gz
| Download URL | parsec_edgar-0.1.1.tar.gz |
|---|---|
| Size | 138.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7c46d0898e9a1b68f24023da08a604f5459998740c8396045ff55647b9495ea
|
|
BLAKE2b-256 checksum How to use checksums |
498755c0c556cf241a4505d5fc186756be4b6c40bc6a2ac88a3b737ea98ba750
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-win_amd64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
86768108756e11dc3c91084c63475bf908193292f1090c720028ecf69b295399
|
|
BLAKE2b-256 checksum How to use checksums |
e2acac6b7fff4f59946d96756d6519e013a72ac09e5ebd52a83c37d9146f483c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a24bf75774c46c14ef1e9fcfa0a6e9683d563af91cd94061624a0f2260511927
|
|
BLAKE2b-256 checksum How to use checksums |
ca37905faf24a1385007448c4f60af02cf06d3dba5c92387b38e98c6575307d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0a1c0c73f6ec925fb6a00720a4b41a4140dbc23624015ab32eea040c6efd9784
|
|
BLAKE2b-256 checksum How to use checksums |
ee392d51187acd403ef02fb47fe9197e1a3e10c506d6c7201dfda01399b7bcf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5d510b7d87c375d89ad3f3a2c3155b063b98a608ead5ba7a1b9b27fafac6ed86
|
|
BLAKE2b-256 checksum How to use checksums |
21334e10640ad5560d5a6713e5b9d8cb204b920cfc40a6425197970f060beae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
28f9f02ac5c640c585ddfb271e96210127d85cc32068846b69702b8201eebeee
|
|
BLAKE2b-256 checksum How to use checksums |
f95dc2e9f1fdc3a20b7db2f27f99633d9c4db0b7a95171cf182c28f13f96e295
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / parsec_edgar-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | parsec_edgar-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
69710b564efe9ec962581c1c4da4c86c3db96a642f5be537e127dc7649116cf2
|
|
BLAKE2b-256 checksum How to use checksums |
e8564769ac22d90282ce16103fcd4112c40ff695027c4dfc3f70adfc101f28e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for parsec-edgar 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for parsec_edgar-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.