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.
This MCP server acts as an intelligent companion, guiding developers through the entire application development lifecycle, from initial design to deployment, offering contextual assistance at each stage.