Octocode
UnclaimedCode research platform for AI agents; find, understand, and prove context across your code and all of GitHub, in a fraction of the tokens. One toolset, MCP or CLI
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'bgauryy-octocode' -- 'npx' '-y' 'octocode' '--help'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in Search & Web
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
17 of 17 tools
Documented tools (17)
From project documentation. A server handshake does not verify each tool’s description or behavior.
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
npmSearch
npm package lookup and keyword search; returns metadata and the source repository for GitHub handoff.
Tool change history
FAQ
Questions about Octocode MCP Server
- How do I connect Octocode MCP Server to Claude?
- Run `claude mcp add bgauryy-octocode -- npx -y octocode --help` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Octocode MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Octocode MCP Server do?
- Octocode MCP Server documents 17 tools to the agent, including ghCloneRepo, ghGetFileContent, ghListReleases. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.