npmlens-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | GitHub token for higher API rate limits when fetching GitHub info |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| search-packages | Search for npm packages with examples |
| analyze-package | Get detailed information about a package including README, downloads, and GitHub stats |
| compare-alternatives | Compare multiple packages side-by-side |
| check-dependencies | View a package's dependencies and their versions |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| npm Search API | Queries https://registry.npmjs.org/-/v1/search |
| npm Package API | Reads https://registry.npmjs.org/<package>[/<version>] |
| Package README | Fetch README for a package via resource URI. |
| Package downloads | Downloads from api.npmjs.org for last day/week/month. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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