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

askclaude-unlimitedsurf

v0.1.0

Published

MCP server exposing a read-only Ask Claude tool through Unlimited Surf with automatic model fallback.

Readme

askclaude-unlimitedsurf

一个标准 stdio MCP 服务器,只暴露一个 ask_claude 工具,用于把问题转发到固定 Unlimited Surf Messages 接口:

https://unlimited.surf/v1/messages

设计限制

  • 支持单轮 question 和多轮 messages 对话。
  • 默认模型固定为 claude-opus-4-8-20260501
  • 失败时自动降级:claude-opus-4-8-20260501claude-opus-4-7-20260101claude-opus-4-6-20251201
  • 请求上游时固定启用流式响应,降低长输出请求超时概率。
  • 默认 max_tokens32000,最多允许 64000
  • 除 API Key 和请求超时外,其它上游接口配置写死。
  • 不支持 OpenAI。
  • 不向下游模型暴露任何工具。
  • 不执行代码、不读写文件、不访问除固定模型 API 以外的外部系统。
  • 不实现 agent loop、计划执行、工具调用或自动操作能力。

安装

npm install
npm run build

配置

复制 .env.example.env,或在 MCP 客户端环境变量中配置:

  • UNLIMITED_SURF_API_KEY:Unlimited Surf API Key。
  • ASK_CLAUDE_TIMEOUT_MS:请求超时,默认 60000,可选。

VS Code MCP

项目已包含 .vscode/mcp.json。构建后即可在 VS Code 中启动/调试该 MCP 服务器。

工具

ask_claude

参数:

  • question:要询问的问题。
  • messages:可选,多轮对话历史,元素格式为 { role: "user" | "assistant", content: string }。提供 messages 时优先使用它。
  • systemPrompt:可选,系统提示词。
  • temperature:可选,0 到 1。
  • maxTokens:可选,默认 32000,最大 64000。

返回:模型的纯文本回答。