localFindFiles
Find local files and directories by name, path, regex, extension, size, time, permissions, type.
How to use it
localFindFiles is exposed by the Octocode MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the localFindFiles tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Octocode
npx octocode --helpOther tools in Octocode (16)
Clone a repo or sparse subtree into the local cache for local/LSP analysis. Opt-in on MCP (ENABLECLONE=true; CLI on by default).
Read a GitHub file or region: full file, line range, match slice, or paginated chars.
List releases + latest, with opt-in assets. Opt-in (ENABLERELEASES=true).
Code and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries.
Walk a repo's commit history, or compare two refs (base+head).
Search a repo's Discussions (Q&A, RFCs, announcements) via GraphQL. Opt-in (ENABLEDISCUSSIONS=true).
Search issues, or read one issue's body and comments.
Search pull requests, or deep-read one PR: files, patches, comments, reviews, commits.
Discover repositories by keywords, owner, topic, language, stars, updated, license, visibility.
Browse a repository's directory tree, plus opt-in repo enrichments.
Find likely-unreferenced exports and dead-code clusters using whole-repository reachability analysis.
Read a local file or region: exact slice, match string, line range, or paginated chars.
Local code/text search returning file and line anchors. mode:"structural" runs Octocode AST shape queries (pattern or rule).
Browse a local directory tree: depth, filters, pagination, metadata.
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
npm package lookup and keyword search; returns metadata and the source repository for GitHub handoff.