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

secpaper-mcp

v1.0.1

Published

SecPaper MCP Server - HTTP to Stdio Bridge

Readme

SecPaper MCP Server

SecPaper MCP 服务器的命令行桥接器,允许 MCP 客户端(如 Claude Desktop)通过标准输入输出协议连接到 SecPaper HTTP API。

功能

  • 将 MCP stdio 协议转换为 HTTP API 调用
  • 支持以下工具:
    • search_papers - 基于关键词搜索安全论文
    • natural_language_search - 使用自然语言查询论文
    • structured_search - 结构化参数搜索
    • get_paper_detail - 获取论文详细信息

安装

npm install

配置

在 MCP 客户端配置中添加以下配置:

Claude Desktop 配置

编辑 claude_desktop_config.json

{
  "mcpServers": {
    "secpaper": {
      "command": "npx",
      "args": ["-y", "@secpaper/mcp"],
      "env": {
        "SECPAPER_TOKEN": "your-token-here",
        "SECPAPER_API_URL": "http://39.98.117.169:58765"
      }
    }
  }
}

或使用 UVX

{
  "mcpServers": {
    "secpaper": {
      "command": "uvx",
      "args": ["secpaper-mcp"],
      "env": {
        "SECPAPER_TOKEN": "your-token-here",
        "SECPAPER_API_URL": "http://39.98.117.169:58765"
      }
    }
  }
}

环境变量

  • SECPAPER_TOKEN(必需):您的 API Token
  • SECPAPER_API_URL(可选):SecPaper API 服务器地址,默认为 http://39.98.117.169:58765

使用方法

1. 获取 Token

在 SecPaper 平台的 Token 管理页面创建一个新的 API Token。

2. 配置 MCP 客户端

按照上面的配置示例,将 Token 填入配置文件中。

3. 重启 MCP 客户端

重启 Claude Desktop 或其他 MCP 客户端以加载新的 MCP 服务器。

4. 开始使用

在对话中,您现在可以使用以下功能:

  • "搜索关于 AI 安全的论文"
  • "查找 2024 年关于机器学习的论文"
  • "显示论文详情"

开发

本地测试:

# 设置环境变量
export SECPAPER_TOKEN="your-token-here"
export SECPAPER_API_URL="http://localhost:58765"

# 运行服务器
node index.js

故障排除

问题:显示"安装失败"或"缺少环境"

解决方案:

  1. 确保已设置 SECPAPER_TOKEN 环境变量
  2. 确保 Token 是有效的且未过期
  3. 确保 SECPAPER_API_URL 可以访问

问题:连接超时

解决方案:

  1. 检查网络连接
  2. 确认 API 服务器地址正确
  3. 检查防火墙设置

许可证

MIT License