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

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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.

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clearly distinct purposes, but search_npm and search_by_keywords could be confused since both are search-related. The descriptions differentiate them (general search vs. keyword/tag search), but the overlap is minor.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., search_npm, get_package_info, compare_packages). Naming is predictable and clear.

Tool Count5/5

With 9 tools, the set is well-scoped for an npm package analysis server. Each tool addresses a distinct need without being excessive.

Completeness5/5

The tool surface covers the main lifecycle of npm package research: search, info retrieval, downloads, versions, dependencies, and comparison. No significant gaps are apparent for read-only package analysis.

Maintenance

ActivityInactive
ResponsivenessNo issues