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

qtz-iris-mcp

v1.0.7

Published

InterSystems IRIS MCP Server!

Readme

InterSystems IRIS MCP Server

这是一个 Model Context Protocol (MCP) 服务器,用于与 InterSystems IRIS 数据库进行交互。它允许 AI 模型通过标准协议查询和操作 IRIS 数据库。

功能特性

1. SQL 查询工具

  • execute_sql: 执行自定义 SQL 查询
  • select_data: 从表中查询数据(支持 WHERE、ORDER BY、LIMIT)
  • get_table_structure: 获取表/类的结构信息
  • count_records: 统计记录数

2. 元数据查询工具

  • search_classes: 搜索类
  • get_class_details: 获取类详情
  • get_class_properties: 获取类的属性
  • get_class_methods: 获取类的方法
  • list_packages: 列出所有包

3. 文档操作工具

  • get_document: 获取文档内容(.cls, .mac, .inc 等)
  • list_documents: 列出命名空间中的文档

安装

# 克隆或复制项目后,安装依赖
npm install

# 构建项目
npm run build

配置

通过环境变量配置连接信息:

# 必需配置
export IRIS_HOST=localhost          # IRIS 服务器地址
export IRIS_PORT=PORT              # IRIS 服务器端口
export IRIS_NAMESPACE=USER          # 命名空间
export IRIS_USERNAME=_SYSTEM        # 用户名
export IRIS_PASSWORD=SYS            # 密码

使用方法

方式一:作为独立 MCP 服务器运行

# 开发模式
npm run dev

# 生产模式
npm run build
npm start

方式二:在 Claude Desktop 中使用

在你的 Claude Desktop 配置文件中添加:

{
  "mcpServers": {
    "iris": {
      "command": "node",
      "args": ["/path/to/iris-mcp-server/dist/bundle.cjs"],
      "env": {
        "IRIS_HOST": "",
        "IRIS_PORT": "",
        "IRIS_NAMESPACE": "",
        "IRIS_USERNAME": "",
        "IRIS_PASSWORD": ""
      }
    }
  }
}