COMPARISONS · CODE SEARCH TOOLS COMPARED

Best GitHub MCP Server alternatives in 2026

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-03 · UPDATED · 2026-12-03
SHORT ANSWER · UPDATED 2026-12-03

The best GitHub MCP Server alternatives in 2026 are Context7 for current library docs inside an AI editor, codebase-memory-mcp for persistent code graph memory for coding agents, Serena for symbol-level navigation and edits for agents and Hound for a simple self-hosted code search for a team. In one line, GitHub MCP Server is this: gitHub's official MCP server for repositories, issues, pull requests and code search. The right swap depends on how you want to run it and which licence you need.

Key number: GitHub MCP Server had 34,945 GitHub stars on 3 Dec 2026, latest release v2.3.0, 24 Nov 2026.

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.

TL;DR The best GitHub MCP Server alternatives in 2026 are Context7 for current library docs inside an AI editor, codebase-memory-mcp for persistent code graph memory for coding agents, Serena for symbol-level navigation and edits for agents and Hound for a simple self-hosted code search for a team.

Try it: filter 10 tools

GitHub MCP Server and 9 alternatives, live data

Show only

Sort by

ToolWhat it isBest forRuns asLanguageLatest releaseLicenceStars
GitHub MCP ServerGitHub's official MCP server for repositories, issues, pull requests and code searchAgents working with GitHub repos and issuesSelf-hosted serverGov2.3.0, 24 Nov 2026MIT34,945
Context7MCP server that serves up-to-date library documentation and code examples to coding agentsCurrent library docs inside an AI editorSelf-hosted serverTypeScriptupstash/context7-mcp 4.9.3, 3 Dec 2026MIT65,847
codebase-memory-mcpMCP server that indexes a codebase into a persistent knowledge graph for agentsPersistent code graph memory for coding agentsSelf-hosted serverCv0.12.1, 16 Oct 2026MIT49,567
SerenaCoding agent toolkit that exposes semantic code retrieval and editing over language servers and MCPSymbol-level navigation and edits for agentsSelf-hosted serverPythonv2.1.0, 19 Oct 2026GPL-3.0-or-later, SolidLSP part under MIT31,943
HoundLightning fast code searcher with a trigram index and a small web UIA simple self-hosted code search for a teamSelf-hosted serverJavaScriptv0.7.1, 3 May 2023MIT5,902
OpenGrokSource code search and cross-reference engine with history and many languagesLong-lived cross-reference of big codebasesSelf-hosted serverJava1.15.1, 3 Dec 2026CDDL-1.05,041
SourcebotSelf-hosted code search across many repositories and code hosts, built on Zoekt, with an MCP serverSelf-hosted code search across GitHub and GitLabSelf-hosted serverPythonv6.1.3, 30 Nov 2026MIT4,051
livegrepInteractive regex code search over large codebases, built on suffix arraysLive regex search over a big monorepoSelf-hosted serverC++No GitHub releaseBSD-2-Clause2,240
ZoektFast trigram-based code search engine with regex support and a web UISearching many repositories by regex at scaleSelf-hosted serverGoNo GitHub releaseApache-2.02,112
XERJOne local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCPAgents searching local files over MCPCommand-line toolRustv1.0.0-rc.105, 23 Nov 2026Apache-2.023,588

Runs in your browser and sends nothing. Tick a box to narrow the list, sort by stars or newest release. Data fetched live on 3 Dec 2026; sources in Evidence below.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Read https://xerj.org/llms.txt. I am comparing GitHub MCP Server alternatives. Install XERJ, start a local node, run xerj autoindex on my project folder, connect xerj mcp, and show me three searches with file and line citations.

Pick one in ten seconds

What GitHub MCP Server does well

GitHub's official MCP server for repositories, issues, pull requests and code search. It suits agents working with GitHub repos and issues. It runs as a self-hosted server, is written mainly in Go, and its licence is MIT. Plan for this: searches what lives on GitHub.

How the GitHub MCP Server alternatives differ

The alternatives split by how they run:

Licences at a glance

Most recent releases

Context7 shipped upstash/context7-mcp 4.9.3 on 3 Dec 2026. OpenGrok shipped 1.15.1 on 3 Dec 2026. Sourcebot shipped v6.1.3 on 30 Nov 2026. A recent release is a sign of active upkeep, so check the changelog for the features you rely on.

Where XERJ fits next to GitHub MCP Server

XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with xerj autoindex and returns passages with file and line citations. xerj mcp is a stdio MCP server, and xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. It complements GitHub MCP Server when an agent needs answers from files on your machine.

How we checked

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. Descriptions summarise each project's own README or documentation. Star counts move daily, so treat them as a snapshot.

Read next

FAQ

What is the best GitHub MCP Server alternative in 2026?

It depends on the job: Context7 fits current library docs inside an AI editor, codebase-memory-mcp fits persistent code graph memory for coding agents, Serena fits symbol-level navigation and edits for agents, Hound fits a simple self-hosted code search for a team, and XERJ fits AI agents searching local files over MCP.

Is GitHub MCP Server open source?

GitHub MCP Server is published under MIT and had 34,945 GitHub stars on 3 Dec 2026.

Which GitHub MCP Server alternatives can I self-host?

These run on your own machines: Context7, codebase-memory-mcp, Serena, Hound, OpenGrok, Sourcebot, livegrep, Zoekt.

Which languages are the GitHub MCP Server alternatives written in?

C: codebase-memory-mcp; C++: livegrep; Go: Zoekt; Java: OpenGrok; JavaScript: Hound; Python: Serena, Sourcebot; TypeScript: Context7. The primary language is the one GitHub reports for each repository.

Evidence