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

sciverse-mcp-server

v0.8.1

Published

Sciverse MCP server — exposes academic paper retrieval (search_papers / semantic_search / read_content) to MCP-compatible coding agents (Claude Code, Cursor, Codex CLI, Windsurf, ...).

Readme

sciverse-mcp-server

npm

English | 中文

Official MCP (Model Context Protocol) server for the Sciverse open platform. Exposes five academic-paper retrieval tools to any MCP-compatible coding agent — Claude Code, Cursor, Codex CLI, Windsurf, Continue, and more.

Tools: search_papers / semantic_search / read_content / list_catalog / get_resource

工具:search_papers(结构化元数据)/ semantic_search(语义检索)/ read_content(原文切片)/ list_catalog(字段 introspection)/ get_resource(论文图片二进制)


English

Quick start

export SCIVERSE_API_TOKEN=sv-xxx   # get one from https://sciverse.space
npx -y sciverse-mcp-server         # stdio mode; coding agents will spawn this for you

Or skip the env var entirely by running the Python CLI once:

pip install sciverse && sciverse auth login
# saves token to ~/.sciverse/credentials.json (file mode 0600)
# the MCP server will pick it up automatically next time it starts

Connect from coding agents

Claude Code

Project-level .mcp.json (or run claude mcp add sciverse npx -- -y sciverse-mcp-server):

{
  "mcpServers": {
    "sciverse": {
      "command": "npx",
      "args": ["-y", "sciverse-mcp-server"],
      "env": { "SCIVERSE_API_TOKEN": "sv-xxx" }
    }
  }
}

If you ran sciverse auth login, the env block can be omitted entirely.

Cursor

.cursor/mcp.json (or Settings → MCP Servers), same shape as above.

Codex CLI

~/.codex/config.toml:

[mcp_servers.sciverse]
command = "npx"
args = ["-y", "sciverse-mcp-server"]
env = { SCIVERSE_API_TOKEN = "sv-xxx" }

Windsurf

~/.codeium/windsurf/mcp_config.json, same JSON shape as Claude Code.

See docs/integrations/ for full per-agent guides.

Configuration

Token / endpoint resolution order: explicit env in MCP config → SCIVERSE_API_TOKEN / SCIVERSE_BASE_URL environment → ~/.sciverse/credentials.json → default (https://api.sciverse.space).

| Var | Required | Default | Notes | |---|---|---|---| | SCIVERSE_API_TOKEN | ✓ (or via login) | — | Bearer token | | SCIVERSE_BASE_URL | | https://api.sciverse.space | Must be a *.sciverse.space domain (anti-leak guard) |

Exposed tools

| Tool | Purpose | |---|---| | search_papers | Structured metadata search over papers / authors / sources (set collection) | | semantic_search | Natural-language semantic chunk retrieval (RAG) | | read_content | Byte-range read of original paper text | | list_catalog | Field introspection (returns all field names + enum sample values, agents should call this first to learn the schema) | | get_resource | Fetch a paper figure / table image; the server wraps the bytes as an MCP image content block (base64 + mimeType) so multimodal models (e.g. Claude) can read the figure inline |

Tool descriptions + input schemas are derived from openapi.yaml at build time (npm run gen), kept in sync with the SDK / ClawHub skill / OpenAI / Anthropic tool exports.

Hello-world prompt

After wiring up the MCP server, try:

帮我找 3 篇关于 Transformer 注意力机制的论文,附原文片段引用。
Find 3 papers on Transformer attention mechanism with quoted excerpts.

Or let the agent learn the schema first:

List the Sciverse fields and the values access_oa_status can take, then find
2024+ gold-OA Nature papers.

Development

npm install
npm run gen       # derive src/generated/tools.ts from ../../openapi.yaml
npm run build     # tsc → dist/
npm test          # vitest (27 tests)

If npm install is slow / blocked, switch registry:

npm install --registry https://registry.npmmirror.com

Links


中文

Sciverse 开放平台官方 MCP (Model Context Protocol) server。把 5 个学术文献检索 工具暴露给任何 MCP 兼容的 coding agent —— Claude Code、Cursor、Codex CLI、 Windsurf、Continue 等。

快速开始

export SCIVERSE_API_TOKEN=sv-xxx   # 从 https://sciverse.space 控制台申请
npx -y sciverse-mcp-server         # stdio 启动;coding agent 通常会代你 spawn

也可以跑一次 Python CLI 把 token 持久化,之后 env 都不用配:

pip install sciverse && sciverse auth login
# 保存到 ~/.sciverse/credentials.json(文件权限 0600)
# MCP server 启动时自动 fallback 读取

在 coding agent 里接入

Claude Code

项目级 .mcp.json(也可以用 claude mcp add sciverse npx -- -y sciverse-mcp-server):

{
  "mcpServers": {
    "sciverse": {
      "command": "npx",
      "args": ["-y", "sciverse-mcp-server"],
      "env": { "SCIVERSE_API_TOKEN": "sv-xxx" }
    }
  }
}

跑过 sciverse auth loginenv 整段可省略。

Cursor

.cursor/mcp.json 或 Settings → MCP Servers,格式同上。

Codex CLI

~/.codex/config.toml

[mcp_servers.sciverse]
command = "npx"
args = ["-y", "sciverse-mcp-server"]
env = { SCIVERSE_API_TOKEN = "sv-xxx" }

Windsurf

~/.codeium/windsurf/mcp_config.json,JSON 格式同 Claude Code。

完整接入指南见 docs/integrations/

配置

Token / endpoint 解析顺序:MCP 配置里显式 envSCIVERSE_API_TOKEN / SCIVERSE_BASE_URL 环境变量 → ~/.sciverse/credentials.json → 默认值(https://api.sciverse.space)。

| 变量 | 必填 | 默认 | 说明 | |---|---|---|---| | SCIVERSE_API_TOKEN | ✓(或通过 login) | — | Bearer Token | | SCIVERSE_BASE_URL | | https://api.sciverse.space | 必须是 *.sciverse.space 子域名(防 token 泄漏) |

暴露的 tool

| 名称 | 用途 | |---|---| | search_papers | 结构化元数据检索(作者 / 年份 / 期刊 / 学科) | | semantic_search | 自然语言语义检索(RAG 用) | | read_content | 按字节区间读文献原文 | | list_catalog | 字段 introspection(返回所有字段名 + 枚举值样本,agent 接入时建议先调一次学 schema) | | get_resource | 取文献附属图片字节流;MCP server 包装为 image content block + base64 + mimeType,多模态模型(如 Claude)可直接读图 |

Tool 描述和 input schema 均从 openapi.yaml 派生(构建期 npm run gen),与 Python/TS SDK、ClawHub skill、OpenAI / Anthropic tool 保持一致。

Hello-world prompt

接入完成后试:

帮我找 3 篇关于 Transformer 注意力机制的论文,附原文片段引用。

或让 agent 先学 schema 再发查询:

列出 Sciverse 有哪些字段、access_oa_status 取值,然后找 2024 年以来 gold OA
状态的 Nature 期刊论文。

开发

npm install
npm run gen       # 从 ../../openapi.yaml 派生 src/generated/tools.ts
npm run build     # tsc → dist/
npm test          # vitest(27 测试)

npm install 因网络源问题失败,换源:

npm install --registry https://registry.npmmirror.com

链接