Skip to main content
Glama
rakeshmenon

npmlens-mcp

by rakeshmenon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GITHUB_TOKENNoGitHub token for higher API rate limits when fetching GitHub info

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_npmB

Search the npm registry for packages.

get_readmeA

Fetch README text for a given npm package (optionally a specific version).

get_package_infoA

Get enriched package info: registry metadata, last-week downloads, and GitHub repo details when available.

get_downloadsB

Get npm downloads for the last day/week/month.

get_usage_snippetB

Extract a likely usage snippet from a package's README.

get_package_versionsA

List all available versions of a package with publish dates and dist tags.

get_package_dependenciesC

Get the dependency tree for a package.

compare_packagesA

Compare multiple npm packages side-by-side (downloads, stars, license, etc.).

search_by_keywordsB

Search npm packages by specific keywords/tags.

Prompts

Interactive templates invoked by user choice

NameDescription
search-packagesSearch for npm packages with examples
analyze-packageGet detailed information about a package including README, downloads, and GitHub stats
compare-alternativesCompare multiple packages side-by-side
check-dependenciesView a package's dependencies and their versions

Resources

Contextual data attached and managed by the client

NameDescription
npm Search APIQueries https://registry.npmjs.org/-/v1/search
npm Package APIReads https://registry.npmjs.org/<package>[/<version>]
Package READMEFetch README for a package via resource URI.
Package downloadsDownloads from api.npmjs.org for last day/week/month.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rakeshmenon/npmlens-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server