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

eeo-oa-data-ledger-mcp

v0.1.2

Published

翼鸥 OA 数据台账 MCP 服务

Readme

翼鸥 OA 数据台账 MCP

通过翼鸥公共 API Key 查询当前员工有权访问的 OA 数据台账。模型、字段、记录和附件权限均由 OA 服务端校验。

工具

| 工具编码 | 中文名称 | 类型 | | --- | --- | --- | | list_ledger_models | 获取权限内数据模型 | 只读 | | query_ledger_page | 数据分页查询 | 只读 | | get_ledger_record | 查询单条数据 | 只读 | | query_departments | 部门信息查询 | 只读 | | query_employees | 员工信息查询 | 只读 | | query_dictionary | 数据词典查询 | 只读 | | download_attachment | 附件下载 | 本地写入 | | upload_attachment | 附件上传 | OA 写入 |

使用约定

模型编码和查询字段已知时,直接进行分页查询,不必重复获取权限内数据模型。只有模型未知、字段不确定,或直接查询提示模型/字段不可用时,才进行模型发现。分页接口使用 keywords 条件数组和 cursor 游标;后续分页必须传入上次返回的 nextCursor。获得唯一 uid 后再查询完整单条数据。分页结果不是全量,统计时必须根据 hasMore 完整翻页。不得尝试访问服务端未返回的模型、字段、记录或附件。

环境变量

API_KEY=<翼鸥公共 API Key>
OA_BASE_URL=<OA 环境地址>

可选:

OA_REQUEST_TIMEOUT_MS=30000

配置示例

{
  "mcpServers": {
    "翼鸥OA数据台账": {
      "timeout": 60,
      "command": "npx",
      "args": ["-y", "eeo-oa-data-ledger-mcp@latest"],
      "env": {
        "API_KEY": "你的 API Key",
        "OA_BASE_URL": "你的 OA 环境地址"
      }
    }
  }
}