Cover image
mateusribeirocampos_npm-MCP-Server
Public

mateusribeirocampos_npm-MCP-Server

Try Now
2025-03-31

镜像://github.com/mateusribeirocampos/npm-mcp-server

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

NPM MCP Server

smithery badge

This is a Model Context Protocol (MCP) server that provides functionality to fetch information about npm packages.

Features

  1. Package Search: Tool to fetch detailed information about npm packages
  2. Popular Packages: Resource to list the 10 most popular npm packages

Installation

Installing via Smithery

To install NPM MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mateusribeirocampos/npm-mcp-server --client claude

Installing Manually

npm install

Build

npm run build

Running

npm start

For development:

npm run dev

Usage

The server exposes two main functionalities:

1. searchNpmPackage Tool

Fetches detailed information about a specific npm package. The tool returns comprehensive package information including:

  • Package name
  • Latest version
  • Description
  • Author information
  • Homepage URL
  • Repository URL
  • Dependencies list

Example usage:

const result = await server.tools.searchNpmPackage({ packageName: "react" });

Example response:

{
  "name": "react",
  "version": "18.2.0",
  "description": "React is a JavaScript library for building user interfaces.",
  "author": "Meta Open Source",
  "homepage": "https://reactjs.org/",
  "repository": {
    "url": "https://github.com/facebook/react.git"
  },
  "dependencies": {
    "loose-envify": "^1.1.0"
  }
}

2. popular-packages Resource

Lists the 10 most popular npm packages, sorted by popularity. Each package in the list includes:

  • Package name
  • Description
  • Current version

Resource URI: npm://popular

Example response:

[
  {
    "name": "lodash",
    "description": "Lodash modular utilities",
    "version": "4.17.21"
  },
  // ... more packages
]

Integration with AI Models

This MCP server can be integrated with AI models to:

  1. Get package information before installation
  2. Compare different package versions
  3. Analyze dependencies
  4. Find popular alternatives
  5. Get quick package summaries

Technologies

  • TypeScript
  • Model Context Protocol SDK
  • Node-fetch
  • Zod

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • JackKuo666
  • 🔍使AI助手可以通过简单的MCP接口搜索和访问PYPI软件包信息。

    Reviews

    2 (1)
    Avatar
    user_UkBvf1YB
    2025-04-17

    As a dedicated user of mateusribeirocampos_npm-mcp-server, I can attest to its superior performance and reliability. Developed by MCP-Mirror, this server is a game-changer for managing NPM packages efficiently. The clear documentation and user-friendly interface make it accessible even for beginners. Highly recommended for anyone looking to streamline their NPM server management. Great work, MCP-Mirror!