Skip to main content
Glama

econstats-mcp

带有经济学家方法论指南的经济数据 MCP 服务器。将 FRED、BLS、BEA、IMF、世界银行和欧洲央行连接到任何兼容 MCP 的客户端。

有何不同

不仅仅是数据访问——该服务器包含方法论规则,指导 LLM 如何选择序列:

  • CPI 与 PCE 在衡量通胀时的区别(以及它们为何存在差异)

  • 黄金年龄就业人口比 (EPOP) 与总体失业率在衡量劳动力市场紧张程度时的区别

  • CPI/PPI 指数的同比变化率,就业数据的环比变化率

  • 发布日直接从 BLS 获取(FRED 有 30-60 分钟的延迟)

  • 实际工资:解释其使用的 4 种衡量标准中的哪一种及其原因

Related MCP server: mcp-fred

快速开始

# Install Bun if needed
curl -fsSL https://bun.sh/install | bash

# Run (get a free FRED API key at https://fred.stlouisfed.org/docs/api/api_key.html)
FRED_API_KEY=your-key bunx econstats-mcp

设置

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "econstats": {
      "command": "bunx",
      "args": ["econstats-mcp"],
      "env": { "FRED_API_KEY": "your-key" }
    }
  }
}

Claude Code

添加到 ~/.claude/.mcp.json

{
  "mcpServers": {
    "econstats": {
      "type": "stdio",
      "command": "bunx",
      "args": ["econstats-mcp"],
      "env": { "FRED_API_KEY": "your-key" }
    }
  }
}

OpenBB

在 OpenBB 工作区 AI 设置中作为 MCP 服务器连接。

API 密钥

密钥

必需

获取地址

FRED_API_KEY

https://fred.stlouisfed.org/docs/api/api\\\\_key.html (免费)

BLS_API_KEY

https://data.bls.gov/registrationEngine/ (免费,更高的速率限制)

BEA_API_KEY

https://apps.bea.gov/API/signup/ (免费,用于 GDP 详情)

IMF、世界银行和欧洲央行无需密钥。

工具 (11)

工具

描述

fred_search

按关键字搜索 FRED 序列

fred_get_series

获取带有转换(同比%、变化等)的 FRED 数据

bls_get_series

获取带有预计算同比%和环比变化的 BLS 数据

bls_series_lookup

按关键字查找 BLS 序列 ID

bea_get_data

BEA 国民账户(GDP 组成部分、州数据)

imf_get_data

IMF 国际金融统计数据(190 个国家)

worldbank_get_data

世界银行发展指标(200 多个国家)

worldbank_search

搜索世界银行指标

ecb_get_data

欧洲央行数据(欧元区利率、HICP、货币供应量)

inflation_adjust

使用 CPI-U 在不同日期之间转换美元金额

check_release_calendar

检查今天是否为数据发布日

数据来源

所有数据均来自免费的公共政府 API。我们将所有数据归因于其来源机构(美联储、BLS、BEA、IMF、世界银行、欧洲央行)。数据不会被重新分发——每个查询都直接从源头获取。

许可证

MIT

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that interfaces with the WorldBank API to retrieve economic and labor market data such as GDP and employment indicators. It allows LLMs to query global development statistics including unemployment rates, labor force participation, and sectoral employment data.
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that wraps the Federal Reserve Economic Data (FRED) API, providing access to over 800,000 economic time series like GDP and unemployment. It enables AI agents to search for data, retrieve metadata, and fetch historical observations directly from the St. Louis Fed.
  • F
    license
    A
    quality
    C
    maintenance
    A local MCP server that gives Claude and other MCP clients access to Federal Reserve Economic Data (FRED) — 800,000+ economic time series covering GDP, inflation, employment, interest rates, and more.
    3
    2
  • A
    license
    A
    quality
    C
    maintenance
    Provides curated US economic data from Treasury, FRED, BLS, BEA, and other sources through an MCP interface. Enables querying economic series, fetching data with provenance tracking, and accessing cached artifacts.
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • Fetch US Bureau of Labor Statistics data — CPI, unemployment, wages, JOLTS, and more via MCP.

  • Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.

  • DBnomics MCP — meta-aggregator over 80+ stats providers

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joshfwaldman1/econstats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server