SEC filing tools for CrewAI
Give your CrewAI agents SEC EDGAR data: 10-K and 10-Q sections, XBRL financial statements, Form 4 insider trades and 8-K reports. Powered by the SecFeed API.
No vector store, no embeddings and no OpenAI key needed for the tools: SecFeed returns the exact filing section (Risk Factors, MD&A, Business), and the tool hands your agent the paragraphs that match its question.
pip install "secfeed-crewai @ git+https://github.com/secfeedapi/secfeed-crewai"
export SECFEED_API_KEY=sf_... # free key: https://secfeedapi.com/signup/
from crewai import Agent
from secfeed_crewai import SearchTenKTool, FinancialStatementsTool, InsiderTradesTool
analyst = Agent(
role="Equity analyst",
goal="Explain NVDA's risks and financial health from its filings",
backstory="You only trust primary sources.",
tools=[SearchTenKTool(), FinancialStatementsTool(), InsiderTradesTool()],
)
Tools
| Tool | What the agent gets | API calls |
|---|---|---|
SearchTenKTool |
The paragraphs of the latest 10-K that answer a question, from the right section (Business, Risk Factors, MD&A, Market Risk), with the filing link | 2 |
SearchTenQTool |
Same for the latest 10-Q | 2 |
FinancialStatementsTool |
Income statement, balance sheet and cash flow from XBRL, last periods side by side | 1 |
InsiderTradesTool |
Latest Form 4 trades: who, role, buy or sell, shares, price, value, 10b5-1 flag | 1 |
RecentEightKTool |
Latest 8-K reports and the items each one covers, with links | 2 |
all_tools() returns all five. The plain functions behind them live in secfeed_crewai.core and work without CrewAI (LangChain, LlamaIndex, plain scripts).
Example output of InsiderTradesTool for MSFT:
MSFT insider transactions (3817 on file, latest 3):
- 2026-11-10 ... (EVP, Chief Marketing Officer): open market sale 5.00K sh @ 531.0 = $2.65M
- 2026-11-09 ... (EVP, Chief Financial Officer): open market sale 5.91K sh @ 544.2359 = $3.22M, 10b5-1 plan
Example: stock research crew
examples/stock_analysis/main.py runs three agents (filings researcher, financial analyst, memo writer) and writes memo-<TICKER>.md:
export OPENAI_API_KEY=... # or any model CrewAI supports:
export MODEL=gpt-4o-mini # e.g. MODEL=anthropic/<model> or MODEL=openrouter/<model>
python examples/stock_analysis/main.py NVDA
A full run makes about a dozen SecFeed calls (tested: 11 for AMD), so the free trial covers it.
Coming from the CrewAI stock analysis example?
The classic CrewAI stock analysis example looks up the latest filing, downloads the whole HTML page, splits it into chunks and embeds them with OpenAI to answer a question. These tools replace that whole file:
# before
from tools.sec_tools import SECTools
tools = [SECTools.search_10q, SECTools.search_10k]
# after
from secfeed_crewai import SearchTenQTool, SearchTenKTool
tools = [SearchTenQTool(), SearchTenKTool()]
You drop unstructured, faiss and the embeddings call, and the agent reads the actual section instead of random chunks of the page.
Also available
- secfeed Python and Node SDKs for every SecFeed endpoint (13F holdings, Form D, full text search, XBRL frames and more)
- SecFeed MCP server for Claude, Cursor and other MCP clients
License
MIT
Metadata
Release files for secfeed-crewai 0.1.0
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 |
|---|---|---|---|---|
| secfeed_crewai-0.1.0.tar.gz | 8.5 kB | Without provenance | Details for secfeed_crewai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| secfeed_crewai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for secfeed_crewai-0.1.0-py3-none-any.whl |
Total release size: 17.2 kB
Release files / secfeed_crewai-0.1.0.tar.gz
| Download URL | secfeed_crewai-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
962780ff0fd28052abf57664c6d40543d10f74fea0040b2beb4f011b96c96967
|
|
BLAKE2b-256 checksum How to use checksums |
1d04856e1b52230d3d8073119e206940286e876bd23482a31d9d53c10ffdae00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Release files / secfeed_crewai-0.1.0-py3-none-any.whl
| Download URL | secfeed_crewai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41fdc19d81c8cc036615395cafd0632519f36233fc2fb5c24a6c70ac1591c367
|
|
BLAKE2b-256 checksum How to use checksums |
c6ea1609a906fc5edb32dfc3d1f092cf41f54fb990639d65e0cfc29dfe4dd653
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Security for secfeed-crewai 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.