
Insightiq
io.github.ravi-p-k-1由 GitHub 账号 ravi-p-k-1 发布v1.0.2更新于 Oct 24, 2026
Look up real FRED (Federal Reserve Economic Data) series and historical observations.
概览
一个本地 MCP 服务器,让助手搜索实时 FRED 目录并获取历史经济序列数据用于分析。
- 可以做什么
- 用简短关键词短语搜索 FRED 实时序列目录,可限制结果数量并按标签筛选,只返回真实的序列 ID 和标题。按指定序列 ID 获取历史年度观测值和单位,返回原始数据。根据问题或搜索短语执行搜索加获取的组合流程。列出某主题下实际存在的 FRED 标签及序列数量,用于指导标签筛选。
- 适用场景
- 当你希望助手基于真实的美联储经济数据而非记忆来回答经济问题,并且愿意提供 FRED API 密钥时使用。它只返回检索到的数据,分析和解释由助手自行完成。
- 运行要求
- 通过 npm 包 insightiq-mcp 以 npx 作为本地进程运行,需要 Node.js 20 或更高版本。需要在 FRED_API_KEY 环境变量中提供免费的 FRED API 密钥。需要访问 FRED API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Insightiq,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
InsightIQ: Economy Insight Assistant
InsightIQ is a local MCP server that gives an AI agent (Claude Code, Claude Desktop, or any other MCP client) the ability to look up real FRED (Federal Reserve Economic Data) series and their historical observations to answer economic questions.
The flow is:
- An agent searches FRED's live series catalog (via the
search_economic_seriesorget_economic_datatool) for series relevant to the user's question. - The agent fetches annual observations and units for the series it cares about.
- The agent analyzes that data itself and answers the user's question — InsightIQ returns retrieved data only, it does not generate the explanation.
Install
Published on npm as insightiq-mcp.
You'll need a free FRED API key first: get one here.
Add that to your MCP client's config (a .mcp.json file for Claude Code, or
Settings → Developer → Edit Config in Claude Desktop). See
mcp/README.md for the full tool reference and per-client
details.
Architecture
Everything runs as a single local process launched by the agent host. There is no database, no local catalog, no separate backend service, and no LLM call anywhere in InsightIQ itself — the only model doing any reasoning about the data is whichever LLM is driving the calling agent.
Tools
search_economic_series
Searches FRED's live series catalog. Takes queries: 1-3 concise, FRED-style
keyword phrases (e.g. ["inflation", "consumer price index"]) rather than a
full question — FRED's full-text search effectively requires every word in a
phrase to match, so short specific phrases work far better than sentences.
Returns real FRED series IDs and titles only; it never invents series IDs.
Each phrase is run through a filler-word stripper before hitting FRED for
exactly this reason. Optional limit (default 4) and tags/excludeTags
(FRED's tag vocabulary, e.g. geography or seasonal adjustment) narrow results
further.
get_series_observations
Fetches historical annual observations and units for specific FRED series IDs. Returns raw data only — no summary or explanation is generated.
get_economic_data
Convenience tool that chains the two above: searches for relevant series using
searchQueries if given (falling back to the raw question otherwise), then
fetches their observations. Still returns raw data only. Accepts the same
limit/tags/excludeTags as search_economic_series.
list_series_tags
Given a topic phrase, returns the FRED tags that actually exist among
matching series with their series counts — the discovery step for using
tags/excludeTags above, since FRED's tag vocabulary usually can't be
guessed reliably.
Development
The following is only relevant if you want to modify this server or contribute to it — not needed to use it (see Install above for that).
mcp/: the MCP server.src/tools/are the exposed tools;src/services/andsrc/clients/hold the FRED search and data-fetch logic;evals/has the MCP-level eval suite (tool contract + retrieval recall).
Prerequisites: Node.js 20 or newer, a FRED API key.
Create mcp/.env from mcp/.env.template:
Run it directly to confirm it starts:
The repository root has a project-scoped .mcp.json that points Claude Code
at your local checkout (picked up automatically when opened at the repository
root, with your approval on first use) — useful for testing changes before
publishing a new version.
Validation
GitHub Actions runs CI on pushes to main and on pull requests: installs
dependencies and checks syntax, without calling FRED.
There is no separate unit-test suite — correctness and quality are verified through MCP-level evals that connect a real client to the real server in-process and drive it exactly the way an agent would. These call the live FRED API, so they're run manually rather than in CI:
eval:retrieval measures the no-query-intelligence floor (45.3% on the
current question set); eval:retrieval:smart replays a checked-in set of
per-question search phrases/tags chosen the way a competent agent would
(62.4%), without needing a live LLM call at eval time. See
mcp/README.md for what each eval checks.
来源:README.md,提交 1108bfd
工具
0版本历史
1- v1.0.2最新Sep 18, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分