Data Infrastructure for AI Agents — SEC, FRED, FMP
Project description
Eugene Intelligence
Data Infrastructure for AI Agents
Install:
pip install eugene-intelligence
Import:import eugene
Quick Start
from eugene.tools.institutional import company
# Stock quote
result = company("AAPL", "prices")
print(result["data"]["price"]["formatted"]) # $270.58
# SEC financials with full provenance
result = company("AAPL", "financials")
print(result["data"]["revenue"]["formatted"]) # $416.16B
print(result["data"]["revenue"]["sec_concept"]) # RevenueFromContractWithCustomerExcludingAssessedTax
print(result["data"]["revenue"]["accession_number"]) # 0000320193-25-000079
MCP Server (Claude Desktop)
After pip install eugene-intelligence:
{
"mcpServers": {
"eugene": {
"command": "python",
"args": ["-m", "eugene.mcp_server"]
}
}
}
4 Tools:
| Tool | Description | Types |
|---|---|---|
company |
Company data | prices, profile, financials, health, earnings, insider |
economy_data |
Economic indicators | inflation, employment, gdp, housing, treasury, forex |
regulatory_data |
Government & regulatory | sec_press, fed_speeches, fomc, treasury_debt |
research_report |
AI-powered analysis | equity, credit |
Data Sources
| Source | Data |
|---|---|
| SEC XBRL | Financial statements (10-K, 10-Q) with accession numbers |
| SEC EDGAR | Insider trades (Form 4), 13F holdings |
| FRED | 400K+ economic series |
| FMP | Real-time stock prices |
| Fed RSS | Speeches, FOMC statements |
| Treasury | National debt, yields |
Environment Variables
# Required for SEC API
export SEC_USER_AGENT="YourApp/1.0 (contact: you@example.com)"
# Optional
export FRED_API_KEY=your_key
export FMP_API_KEY=your_key
Compliance & Fair Access
- Requires
SEC_USER_AGENTwith contact info (per SEC policy) - Default rate limit: 6 requests/second
- Uses CIK and companyfacts caching to reduce load
Demo
Try it: huggingface.co/spaces/Rex165/eugene-intelligence
Why Eugene?
Every number traced to source. No hallucination.
{
"revenue": {
"value": 416161000000,
"formatted": "$416.16B",
"period_end": "2025-09-27",
"filed_date": "2025-10-31",
"sec_concept": "RevenueFromContractWithCustomerExcludingAssessedTax",
"accession_number": "0000320193-25-000079"
}
}
Built for agents that need to get finance right.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eugene_intelligence-0.1.1.tar.gz.
File metadata
- Download URL: eugene_intelligence-0.1.1.tar.gz
- Upload date:
- Size: 99.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19bff8e397f0cedecf14452d42c4f77669ffd1fec31b87deab9ce057cb8a7d52
|
|
| MD5 |
fe895bdf497b0f8ecd05825c34fd9b6f
|
|
| BLAKE2b-256 |
82c66b2bb779dbefc1b9dbf05a07fa69c66196c9ad8624f2a4824462885549df
|
File details
Details for the file eugene_intelligence-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eugene_intelligence-0.1.1-py3-none-any.whl
- Upload date:
- Size: 114.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7221b076cd2dcf3ad5ddc749c3da00305224daf01e1a1193b06bf6cf7dce24c4
|
|
| MD5 |
68fc738c80b779947e3e20e6405cf53d
|
|
| BLAKE2b-256 |
49dd8c4c12f8f1aee3463fea819a67e4386ba8948b47970ad26f658a3ed9a2eb
|