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

@everyapi-ai/mcp

v0.1.31

Published

EveryAPI MCP server: read-only wallet / usage / model-catalog tools for any MCP client (Zed, Claude Code, Cursor, …) over stdio.

Readme

@everyapi-ai/mcp

EveryAPI 的 MCP (Model Context Protocol) server,stdio 传输。给任意 MCP 客户端(Zed、Claude Code、Cursor、Claude Desktop…)提供四个只读工具加一个计费的 chat 工具:

| Tool | 数据源 | 说明 | | ------------------- | --------------------------- | ------------------------------------------------------- | | chat | POST /v1/chat/completions | ⚠️ 计费:调用任意模型并返回回复,会消耗 key 余额 | | get_wallet | GET /api/usage/token/ | key 余额 / 已用 / 总额度、过期时间、模型白名单 | | get_usage_summary | GET /api/log/token | 今日与近 7 天消费、按日分布、Top 模型、最贵单次调用 | | list_models | GET /v1/models | 网关可用模型目录(支持子串过滤) | | get_pricing | GET /api/pricing | 每模型价格(USD / 1M tokens,输入与输出,支持子串过滤) |

chat 之外的四个工具都是只读、不产生费用;chat 会向网关发起真实推理请求并扣减 key 余额。

零运行时依赖:协议层手写(initialize / tools/list / tools/call / ping 共四个方法),与 apps/vscode 手写 SSE 同一个理由 —— 面积小到不值得引 SDK。

配置

纯环境变量:

EVERYAPI_API_KEY=sk-everyapi-...                  # 必填
EVERYAPI_BASE_URL=https://api.everyapi.ai/v1      # 选填,默认即此

用法

# 直接跑(npm 包提供 everyapi-mcp bin)
EVERYAPI_API_KEY=sk-everyapi-... npx -y @everyapi-ai/mcp

# Claude Code
claude mcp add everyapi -e EVERYAPI_API_KEY=sk-everyapi-... -- npx -y @everyapi-ai/mcp

Zed 用户直接装 EveryAPI 扩展(apps/zed),扩展会通过 Zed 的 Node 运行时自动安装并启动本包。

开发

vp run --filter @everyapi-ai/mcp test        # vp test (Vitest)
vp run --filter @everyapi-ai/mcp typecheck   # tsgo --noEmit
vp run --filter @everyapi-ai/mcp build       # vp pack (tsdown) → dist/index.mjs