MCP.so
Sign In

npm-package-mcp-server

@Pratham1264

About npm-package-mcp-server

The npm-package-mcp-server allows users to efficiently access and analyze source code from any NPM package. With features like smart file discovery and selective code reading, it streamlines the process for developers. πŸ™πŸŒ

Basic information

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

Pratham1264

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is npm-package-mcp-server?

A TypeScript-based server for fetching, browsing, and analyzing NPM package source code. It provides endpoints to explore packages, extract files, and perform code analysis, aimed at developers needing to inspect package internals.

How to use npm-package-mcp-server?

Clone the repository, run npm install and npm start, then access the server at http://localhost:3000. Use the endpoints GET /api/packages/:packageName to fetch a package, POST /api/packages/:packageName/extract to extract specific files, and GET /api/packages/:packageName/analyze to analyze its source code.

Key features of npm-package-mcp-server

  • Browse available NPM packages easily
  • Extract specific files from a package
  • Analyze source code structure and functionality
  • Built with TypeScript for type safety

Use cases of npm-package-mcp-server

  • Browsing an NPM package to see its file tree
  • Downloading a particular file from a package for local inspection
  • Automating code analysis of multiple packages in a pipeline
  • Understanding the internal structure of a dependency

FAQ from npm-package-mcp-server

β€”

Comments

More Other MCP servers