"npmlens-mcp lets your coding agent (such as Claude, Cursor, Copilot, Gemini or Codex) search the npm registry and fetch package context (README, downloads, GitHub info, usage snippets). It acts as a ModelContextProtocol (MCP) server, giving your AI assistant a structured way to discover libraries and integrate them quickly. Structured npm search with optional ranking weights. Direct README fetch (optionally truncated). Enriched package info (downloads + GitHub details). Usage snippet extraction from README. Stdio MCP transport, ready for MCPcompatible clients."
"npmlens-mcp performs network requests to npm and GitHub when tools are used. Avoid sharing secrets in prompts; set GITHUB_TOKEN only if you want higher GitHub rate limits. Node.js v18.17 or newer npm (or pnpm) Add the following config to your MCP client: { "mcpServers": { "npmlens": { "command": "npx", "args": ["-y", "npmlens-mcp@latest"] } } } Note Using npmlens-mcp@latest ensures your MCP client always runs the latest published version."
npmlens-mcp is an MCP server that lets coding agents search npm and retrieve package context: README, download stats, GitHub metadata, and usage snippets. It supports structured search with optional ranking weights and direct, optionally truncated README fetches. Responses are enriched with downloads, GitHub details, and usage snippets extracted from READMEs. The MCP uses a stdio transport for MCP-compatible clients and performs network requests to npm and GitHub when tools are invoked. Avoid sharing secrets in prompts and set GITHUB_TOKEN only to raise GitHub rate limits. Requires Node.js v18.17+ and npm or pnpm; configure clients to run npx -y npmlens-mcp@latest.
Read at github.com
Unable to calculate read time
Collection
[
|
...
]