Publicfinance
FreeNot checkedEnables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.
About
Enables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.
README
Public Finance MCP Server — SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators in one MCP server. Zero API keys required.
Why This Exists
Existing SEC EDGAR MCP servers only cover filings. Existing FRED servers require API keys. No MCP server combines SEC EDGAR + US Treasury rates + BLS labor stats into one unified interface with zero configuration.
PublicFinance MCP gives AI agents access to the entire US public financial data landscape — company filings, yield curves, unemployment data, CPI, and more — all from free government APIs.
Tools (6)
| Tool | Description |
|---|---|
company_filings |
Search SEC EDGAR for company filings (10-K, 10-Q, 8-K, S-1, etc.) by ticker or CIK |
company_facts |
Get XBRL financial data — Revenue, NetIncome, Assets, and 1000+ standardized concepts |
treasury_rates |
US Treasury yield curve, bill rates, long-term rates, real yields |
labor_statistics |
BLS data: unemployment rate, CPI, nonfarm payrolls, participation rate, PPI, and custom series |
ticker_lookup |
Resolve ticker symbols ↔ company names ↔ CIK numbers |
economic_overview |
One-call snapshot of key US economic indicators (yield curve + unemployment + CPI + payrolls) |
Quick Start
Install
npm install -g @leviai/publicfinance-mcp
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"publicfinance": {
"command": "npx",
"args": ["-y", "@leviai/publicfinance-mcp"]
}
}
}
Cursor / Windsurf / VS Code
Add to your MCP settings:
{
"publicfinance": {
"command": "npx",
"args": ["-y", "@leviai/publicfinance-mcp"]
}
}
Usage Examples
"Show me Apple's recent 10-K filings"
→ company_filings(company: "AAPL", form_type: "10-K")
"What's Apple's revenue over the past 5 years?"
→ company_facts(company: "AAPL", concept: "RevenueFromContractWithCustomerExcludingAssessedTax")
"Get the current Treasury yield curve"
→ treasury_rates(rate_type: "yield_curve")
"What's the unemployment rate?"
→ labor_statistics(preset: "unemployment")
"Give me an economic overview"
→ economic_overview()
"Look up Tesla's CIK number"
→ ticker_lookup(query: "TSLA")
Data Sources
All data comes from free, public US government APIs with no authentication required:
| Source | Data | API |
|---|---|---|
| SEC EDGAR | Company filings, XBRL financials | data.sec.gov |
| US Treasury | Yield curves, bill rates, long-term rates | home.treasury.gov |
| Bureau of Labor Statistics | Unemployment, CPI, payrolls, PPI | api.bls.gov (v1, no key) |
BLS Preset Series
| Preset | Description | Series ID |
|---|---|---|
unemployment |
Unemployment Rate (SA) | LNS14000000 |
cpi |
CPI All Urban Consumers | CUUR0000SA0 |
nonfarm_payrolls |
Total Nonfarm Employment | CES0000000001 |
participation |
Labor Force Participation Rate | LNS11300000 |
core_cpi |
CPI Less Food & Energy | CUUR0000SA0L1E |
avg_hourly_earnings |
Average Hourly Earnings (Private) | CES0500000003 |
manufacturing |
Manufacturing Employment | CES3000000001 |
ppi |
Producer Price Index | PCU327320327320 |
You can also pass any custom BLS series ID via series_id.
Requirements
- Node.js >= 18.0.0
- No API keys needed
- Internet access to US government APIs
Rate Limits
- SEC EDGAR: Max 10 requests/second. The server uses a compliant User-Agent header.
- BLS API v1: 25 series per query, 25 queries per day (no registration). For higher limits, register at bls.gov.
- US Treasury: No documented rate limits.
License
MIT — Built by Levi Labs
Install Publicfinance in Claude Desktop, Claude Code & Cursor
unyly install publicfinanceInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add publicfinance -- npx -y @leviai/publicfinance-mcpFAQ
Is Publicfinance MCP free?
Yes, Publicfinance MCP is free — one-click install via Unyly at no cost.
Does Publicfinance need an API key?
No, Publicfinance runs without API keys or environment variables.
Is Publicfinance hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Publicfinance in Claude Desktop, Claude Code or Cursor?
Open Publicfinance on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Publicfinance with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
