MCPVault

npmSearch

MCP tool from Octocode by bgauryy

npm package lookup and keyword search; returns metadata and the source repository for GitHub handoff.

How to use it

npmSearch is exposed by the Octocode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the npmSearch tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Octocode

$npx octocode --help
FULL OCTOCODE LISTING

Other tools in Octocode (16)

ghCloneRepo

Clone a repo or sparse subtree into the local cache for local/LSP analysis. Opt-in on MCP (ENABLECLONE=true; CLI on by default).

ghGetFileContent

Read a GitHub file or region: full file, line range, match slice, or paginated chars.

ghListReleases

List releases + latest, with opt-in assets. Opt-in (ENABLERELEASES=true).

ghSearchCode

Code and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries.

ghSearchCommits

Walk a repo's commit history, or compare two refs (base+head).

ghSearchDiscussions

Search a repo's Discussions (Q&A, RFCs, announcements) via GraphQL. Opt-in (ENABLEDISCUSSIONS=true).

ghSearchIssues

Search issues, or read one issue's body and comments.

ghSearchPullRequests

Search pull requests, or deep-read one PR: files, patches, comments, reviews, commits.

ghSearchRepos

Discover repositories by keywords, owner, topic, language, stars, updated, license, visibility.

ghViewRepoStructure

Browse a repository's directory tree, plus opt-in repo enrichments.

localFindDeadCode

Find likely-unreferenced exports and dead-code clusters using whole-repository reachability analysis.

localFindFiles

Find local files and directories by name, path, regex, extension, size, time, permissions, type.

localGetFileContent

Read a local file or region: exact slice, match string, line range, or paginated chars.

localSearchCode

Local code/text search returning file and line anchors. mode:"structural" runs Octocode AST shape queries (pattern or rule).

localViewStructure

Browse a local directory tree: depth, filters, pagination, metadata.

lspGetSemantics

Typed semantic navigation: definition, references, callers, callees, callHierarchy, hover, documentSymbols, typeDefinition, implementation, workspaceSymbol, supertypes, subtypes, and diagnostic. From the CLI, invoke it directly: npx octocode tools lspGetSemantics --queries '<json>'. Navigation runs