NPMLens MCP
JSON →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 ModelâContextâProtocol (MCP) server, giving your AI assistant a structured way to discover libraries and integrate them quickly.
Install
npx -y npmlens-mcp@latest` Tools · 5
- search_packages Search for npm packages by keyword or name
- get_package_info Get detailed information about a specific npm package
- get_package_dependencies Get the dependency tree of a specific npm package
- get_package_versions List all versions of a specific npm package
- get_package_maintainers Get maintainer information for a specific npm package
Environment variables
GITHUB_TOKEN