npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

linker-information-mcp

v0.3.0

Published

Unified MCP server for information retrieval - feishu messages, meetings, reports, news

Downloads

466

Readme

linker-information-mcp

统一信息检索 MCP Server,整合飞书群消息、会议纪要、机构研报、实时新闻四类数据源,一个 Server 替代原有三个独立 MCP。

功能概览

| 工具 | 数据源 | 说明 | |------|--------|------| | query_feishu | 飞书群消息 | 短期记忆(MySQL摘要) + 长期记忆(RAGFlow语义检索) | | get_feishu_group_digest | 飞书群消息 | 获取指定群近N天完整摘要原文 | | list_feishu_groups | 飞书群消息 | 列出所有群名和活跃日期 | | query_meeting | 会议纪要 | 短期记忆(MySQL文件列表) + 长期记忆(RAGFlow语义检索) | | get_meeting_detail | 会议纪要 | 解析 docx/pdf 文件全文 | | list_meeting_types | 会议纪要 | 列出所有会议类型 | | search_research_report | 机构研报 | RAGFlow 语义检索华泰等机构日报/周报/月报 | | search_news | 实时新闻 | 新闻桥 API,支持品种/方向/关键词过滤 |

快速开始

安装依赖 & 构建

cd packages/linker-information-mcp
npm install
npm run build

本地测试

INFORMATION_API_BASE=http://hub.linker.net/api/v1/mcp/information \
INFORMATION_API_KEY=lk_mcp_xxx \
NEWS_MCP_API_BASE=http://hub.linker.net/api/v1/mcp/news \
NEWS_MCP_KEY=lk_mcp_xxx \
node dist/index.js

看到 linker-information-mcp started 即启动成功。

0.3.0 起,RAGFlow(飞书/会议/研报长期段检索)与研报下载已下沉到后端 /api/v1/mcp/information。客户端不再需要 RAGFLOW_API_BASE、RAGFLOW_API_KEY 及 4 个知识库 ID —— 这些只存在于服务端配置。

客户端配置

Claude Desktop

编辑 claude_desktop_config.json:

{
  "mcpServers": {
    "linker-information": {
      "command": "npx",
      "args": ["-y", "linker-information-mcp@latest"],
      "env": {
        "INFORMATION_API_BASE": "http://hub.linker.net/api/v1/mcp/information",
        "INFORMATION_API_KEY": "<你的 lk_mcp_ Key>",
        "NEWS_MCP_API_BASE": "http://hub.linker.net/api/v1/mcp/news",
        "NEWS_MCP_KEY": "<你的 lk_mcp_ Key>"
      }
    }
  }
}

Cursor

编辑 .cursor/mcp.json,结构同上。

Claude Code

项目根目录 .mcp.json:

{
  "mcpServers": {
    "linker-information": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "linker-information-mcp@latest"],
      "env": {
        "INFORMATION_API_BASE": "http://hub.linker.net/api/v1/mcp/information",
        "INFORMATION_API_KEY": "<你的 lk_mcp_ Key>",
        "NEWS_MCP_API_BASE": "http://hub.linker.net/api/v1/mcp/news",
        "NEWS_MCP_KEY": "<你的 lk_mcp_ Key>"
      }
    }
  }
}

或命令行:

claude mcp add linker-information \
  --env INFORMATION_API_BASE=http://hub.linker.net/api/v1/mcp/information \
  --env INFORMATION_API_KEY=<你的 lk_mcp_ Key> \
  --env NEWS_MCP_API_BASE=http://hub.linker.net/api/v1/mcp/news \
  --env NEWS_MCP_KEY=<你的 lk_mcp_ Key> \
  -- npx -y linker-information-mcp@latest

环境变量说明

| 变量 | 必填 | 说明 | |------|------|------| | INFORMATION_API_BASE | ✅ | information 域网关入口,http://hub.linker.net/api/v1/mcp/information。飞书/会议/研报的短期段与长期段均经此 | | INFORMATION_API_KEY | ✅ | 网关鉴权 Key(X-MCP-Key,IAM 签发的 lk_mcp_*) | | NEWS_MCP_API_BASE | 否 | 新闻域网关入口 /api/v1/mcp/news,不配则新闻工具不可用(勿用旧 /mcp-news,经网关必 401) | | NEWS_MCP_KEY | 否 | 新闻域鉴权 Key,配了 BASE 就必须配 | | REQUEST_TIMEOUT | 否 | 单次请求超时(ms),默认 15000 |

RAGFlow 地址/密钥/知识库 ID 与 MySQL 账密均已下沉服务端,客户端不再持有。

替代关系

配置本 MCP 后可移除以下独立 Server:

  • ~~linker-feishu-mcp~~
  • ~~linker-meeting-mcp~~
  • ~~linker-report-mcp~~

功能完全覆盖 + 新增新闻检索。

发布

cd packages/linker-information-mcp
npm run build
npm publish --access public

技术栈

  • TypeScript (ESM) + Node.js >= 18
  • @modelcontextprotocol/sdk — MCP 协议 SDK
  • mysql2 — MySQL 短期记忆查询
  • mammoth / pdf-parse — 文档解析
  • zod — 参数校验