MCP.so
登录

NPMJS Model Context Protocol (MCP) Server

@yiannis-spyridakis

关于 NPMJS Model Context Protocol (MCP) Server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

yiannis-spyridakis

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is NPMJS Model Context Protocol (MCP) Server?

A lightweight, TypeScript-based MCP server that provides structured information about npmjs packages—such as version details, download statistics, publish dates, descriptions, and licenses—in a standardized JSON format for consumption by LLMs and AI-driven development tools. It abstracts away direct interactions with multiple npmjs API endpoints.

How to use NPMJS Model Context Protocol (MCP) Server?

Clone the repository, run npm install, then start the server in development with npm run dev or in production with npm start after building with npm run build. The server listens for MCP requests via standard input/output and exposes tools that can be called using any MCP client. Each tool requires a JSON object with a packageName argument (e.g., { "packageName": "express" }).

Key features of NPMJS Model Context Protocol (MCP) Server

  • Provides four MCP tools for npm package data
  • Returns package summary (name, version, description, license, etc.)
  • Lists all available versions with publish dates
  • Fetches download statistics for configurable periods
  • Offers comprehensive details including maintainers and keywords

Use cases of NPMJS Model Context Protocol (MCP) Server

  • Quickly retrieve the latest version and metadata of an npm package
  • Obtain download counts for the last day, week, or month
  • List all historical versions and their release dates
  • Gather detailed package information including maintainers for dependency audits

FAQ from NPMJS Model Context Protocol (MCP) Server

What tools does NPMJS Model Context Protocol (MCP) Server provide?

It provides four tools: get_npm_package_summary, get_npm_package_versions, get_npm_package_downloads, and get_npm_package_details. Each accepts a packageName argument, and get_npm_package_downloads also accepts an optional period parameter.

How does the server handle errors?

If a tool call fails (e.g., package not found or missing required arguments), the server returns a standard MCP error response with an error object that includes a descriptive message.

What information does the package summary include?

The summary includes the package name, latest version, description, publish date of the latest version, license, homepage, and repository URL.

Can I get download statistics for a specific period?

Yes. The get_npm_package_downloads tool accepts an optional period parameter with values "last-day", "last-week", or "last-month". If omitted, all three periods are returned.

Is the server available via HTTP or other transport?

No. The README indicates the server communicates via standard input/output (stdio) using the MCP protocol. No HTTP or other transports are mentioned.

评论

其他 分类下的更多 MCP 服务器