publicfinance

publicfinance

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

Category
Visit Server

README

@leviai/publicfinance-mcp

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured