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

@qianfuv/paper-scanner-mcp

v1.2.0

Published

MCP server for Paper Scanner

Readme

Paper Scanner MCP

Paper Scanner 的 MCP Server —— 学术期刊索引与追踪系统。通过 stdio 提供文章搜索、元数据查询、每周更新和收藏管理等工具。

快速开始

使用 npx(无需安装)

{
  "command": "npx",
  "args": ["-y", "@qianfuv/paper-scanner-mcp"],
  "env": {
    "PAPER_SCANNER_API_URL": "https://your-api-host",
    "PAPER_SCANNER_API_TOKEN": "your-access-token"
  }
}

全局安装

npm install -g @qianfuv/paper-scanner-mcp
{
  "command": "paper-scanner-mcp",
  "env": {
    "PAPER_SCANNER_API_URL": "https://your-api-host",
    "PAPER_SCANNER_API_TOKEN": "your-access-token"
  }
}

环境变量

| 变量 | 默认值 | 说明 | | --- | --- | --- | | PAPER_SCANNER_API_URL | http://localhost:8000 | Paper Scanner 后端地址 | | PAPER_SCANNER_API_TOKEN | — | 必填。 用于 API 认证的 Bearer Token | | PAPER_SCANNER_DB | — | 默认数据库名,自动附加到支持 db 参数的请求 |

所有 API 端点均需要认证,Token 会作为 Bearer 头随每个请求发送。可在 Paper Scanner 设置页面中生成。

工具列表

元数据

| 工具名 | 说明 | | --- | --- | | list_databases | 列出可用的 SQLite 数据库 | | list_areas | 列出指定数据库的研究领域 | | list_years | 列出指定数据库的发表年份统计 |

期刊

| 工具名 | 说明 | | --- | --- | | list_journals | 列出指定数据库中的期刊 |

文章

| 工具名 | 说明 | | --- | --- | | search_articles | 搜索文章,支持领域、日期、期刊、关键词、开放获取等过滤 | | get_article | 按 ID 获取单篇文章 |

每周更新

| 工具名 | 说明 | | --- | --- | | get_weekly_updates | 获取全库每周新增文章摘要 |

收藏

| 工具名 | 说明 | | --- | --- | | list_folders | 列出当前用户的收藏夹 | | add_favorite | 向指定文件夹添加文章 | | remove_favorite | 从指定文件夹移除文章 |

API 路由映射

| MCP 工具 | 后端路由 | | --- | --- | | list_databases | GET /api/meta/databases | | list_areas | GET /api/meta/areas | | list_years | GET /api/years | | list_journals | GET /api/journals | | search_articles | GET /api/articles | | get_article | GET /api/articles/{article_id} | | get_weekly_updates | GET /api/weekly-updates | | list_folders | GET /api/favorites/folders | | add_favorite | POST /api/favorites/folders/{folder_id}/articles | | remove_favorite | DELETE /api/favorites/folders/{folder_id}/articles/{article_id} |

开发

cd mcp
npm install
npm run build

源码在 src/,编译输出在 dist/。工具注册在 src/tools/,API 客户端在 src/client.ts

许可

MIT