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.1.1

Published

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

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

本地测试

RAGFLOW_API_BASE=http://api_ai.linker.net/rag-api \
RAGFLOW_API_KEY=ragflow-xxx \
FEISHU_DAILY_KB_ID=xxx \
MEETING_KB_ID=xxx \
MEETING_REPORT_KB_ID=xxx \
REPORT_KB_ID=xxx \
DB_HOST=1.13.171.218 \
DB_USER=linker_ro \
DB_PASS=linkerRO2026! \
NEWS_API_BASE=http://api_ai.linker.net/news-api \
node dist/index.js

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

客户端配置

Claude Desktop

编辑 claude_desktop_config.json

{
  "mcpServers": {
    "linker-information": {
      "command": "npx",
      "args": ["-y", "linker-information-mcp@latest"],
      "env": {
        "RAGFLOW_API_BASE": "http://api_ai.linker.net/rag-api",
        "RAGFLOW_API_KEY": "ragflow-TlV2VxzljJgN11H8are6cDdugnsWk3PXWkWqrrv-_wk",
        "FEISHU_DAILY_KB_ID": "8d2301c241f511f1a0657222bb602843",
        "MEETING_KB_ID": "3e725c1900e511f1bc3b1eca8c62863f",
        "MEETING_REPORT_KB_ID": "367cb87807df11f191327222bb602843",
        "REPORT_KB_ID": "bbcca515025111f1bd0d961ef7d70cd5",
        "DB_HOST": "1.13.171.218",
        "DB_PORT": "13316",
        "DB_USER": "linker_ro",
        "DB_PASS": "linkerRO2026!",
        "DB_NAME": "linker_dmp",
        "NEWS_API_BASE": "http://api_ai.linker.net/news-api"
      }
    }
  }
}

Cursor

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

Claude Code

项目根目录 .mcp.json

{
  "mcpServers": {
    "linker-information": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "linker-information-mcp@latest"],
      "env": {
        "RAGFLOW_API_BASE": "http://api_ai.linker.net/rag-api",
        "RAGFLOW_API_KEY": "ragflow-TlV2VxzljJgN11H8are6cDdugnsWk3PXWkWqrrv-_wk",
        "FEISHU_DAILY_KB_ID": "8d2301c241f511f1a0657222bb602843",
        "MEETING_KB_ID": "3e725c1900e511f1bc3b1eca8c62863f",
        "MEETING_REPORT_KB_ID": "367cb87807df11f191327222bb602843",
        "REPORT_KB_ID": "bbcca515025111f1bd0d961ef7d70cd5",
        "DB_HOST": "1.13.171.218",
        "DB_PORT": "13316",
        "DB_USER": "linker_ro",
        "DB_PASS": "linkerRO2026!",
        "DB_NAME": "linker_dmp",
        "NEWS_API_BASE": "http://api_ai.linker.net/news-api"
      }
    }
  }
}

或命令行:

claude mcp add linker-information \
  --env RAGFLOW_API_BASE=http://api_ai.linker.net/rag-api \
  --env RAGFLOW_API_KEY=ragflow-TlV2VxzljJgN11H8are6cDdugnsWk3PXWkWqrrv-_wk \
  --env FEISHU_DAILY_KB_ID=8d2301c241f511f1a0657222bb602843 \
  --env MEETING_KB_ID=3e725c1900e511f1bc3b1eca8c62863f \
  --env MEETING_REPORT_KB_ID=367cb87807df11f191327222bb602843 \
  --env REPORT_KB_ID=bbcca515025111f1bd0d961ef7d70cd5 \
  --env DB_HOST=1.13.171.218 \
  --env DB_PORT=13316 \
  --env DB_USER=linker_ro \
  --env DB_PASS=linkerRO2026! \
  --env DB_NAME=linker_dmp \
  --env NEWS_API_BASE=http://api_ai.linker.net/news-api \
  -- npx -y linker-information-mcp@latest

环境变量说明

| 变量 | 必填 | 说明 | |------|------|------| | RAGFLOW_API_BASE | ✅ | RAGFlow API 地址 | | RAGFLOW_API_KEY | ✅ | RAGFlow API Key | | FEISHU_DAILY_KB_ID | ✅ | 飞书群消息知识库 ID | | MEETING_KB_ID | ✅ | 内部会议知识库 ID | | MEETING_REPORT_KB_ID | 推荐 | 内部报告知识库 ID(query_meeting 的报告长期记忆,不配则该部分返回空。注意:与 REPORT_KB_ID 是不同的库) | | REPORT_KB_ID | ✅ | 机构研报知识库 ID | | DB_HOST | ✅ | MySQL 主机 | | DB_PORT | 否 | MySQL 端口,默认 13316 | | DB_USER | ✅ | MySQL 用户名 | | DB_PASS | 否 | MySQL 密码 | | DB_NAME | 否 | MySQL 库名,默认 linker_dmp | | NEWS_API_BASE | 否 | 新闻桥 API 地址,不配则新闻工具不可用 | | REQUEST_TIMEOUT | 否 | 单次请求超时(ms),默认 10000 |

替代关系

配置本 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 — 参数校验