Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Publicfinance

FreeNot checked

Enables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.

GitHubEmbed

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.

npm version License: MIT

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

from github.com/Leviai-ai/publicfinance-mcp

Install Publicfinance in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install publicfinance

Installs 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-mcp

FAQ

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

Compare Publicfinance with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs