npmjs-mcp-server

npmjs-mcp-server

1

The NPMJS Model Context Protocol Server is a TypeScript-based server that provides structured npm package information in a simple JSON format. It facilitates interactions with npm packages through standardized tools and prompts, suitable for consumption by AI development tools.

NPMJS Model Context Protocol (MCP) Server

Overview

  • Purpose: Lightweight, TypeScript-based MCP server for providing npm package information such as version details, download statistics, publish dates, descriptions, and licenses in JSON format.
  • Features: Simplifies access to npm package metadata, designed to be run as a child process by an MCP client, provides multiple tools and prompts for retrieving package information.
  • Usage: Clone the repository, install dependencies, run the server in development or production mode, utilize available tools and prompts through an MCP client.

Available Tools

  • get_npm_package_summary
  • get_npm_package_versions
  • get_npm_package_downloads
  • get_npm_package_details

Available Prompts

  • get_summary_prompt
  • get_details_prompt
  • find_homepage_prompt
  • list_versions_prompt
  • get_version_date_prompt
  • get_downloads_prompt