# context7 vs github-mcp-server
_MCP Servers · independent comparison_

> context7 and github-mcp-server are both open-source mcp servers you can self-host for free. context7 has wider GitHub adoption — 60k stars vs 32k. Neither is universally better — pick by fit.

## Side by side

**context7**
- Open source · MCP server · 60k★ · TypeScript · MIT · active 1 day ago
- Best for: Giving coding agents up-to-date library documentation via MCP.
- Avoid if: Your stack is niche enough that its docs are not covered.
- [listing](https://agentsearchengine.app/agents/context7) · [official](https://context7.com)

**github-mcp-server**
- Open source · MCP server · 32k★ · Go · MIT · active 3 days ago
- Best for: Connecting MCP clients like Claude Code or Cursor to GitHub repos, issues, and PRs — the official server.
- Avoid if: You need write-heavy automation beyond what the API surface exposes.
- [listing](https://agentsearchengine.app/agents/github-mcp-server) · [official](https://github.com/github/github-mcp-server)

## Key differences

- context7 has wider GitHub adoption — 60k stars vs 32k.
- context7 is written primarily in TypeScript; github-mcp-server in Go.

## Which to choose

**Choose context7 if:** Giving coding agents up-to-date library documentation via MCP.

**Choose github-mcp-server if:** Connecting MCP clients like Claude Code or Cursor to GitHub repos, issues, and PRs — the official server.

## FAQ

**What's the main difference between context7 and github-mcp-server?**
context7 has wider GitHub adoption — 60k stars vs 32k.

**Is context7 or github-mcp-server better?**
Neither is universally better. context7 is the stronger fit for Giving coding agents up-to-date library documentation via MCP; github-mcp-server for Connecting MCP clients like Claude Code or Cursor to GitHub repos, issues, and PRs — the official server. Use the side-by-side specs to decide by your own constraints.

**Is context7 or github-mcp-server free?**
context7 is free to run and self-host; github-mcp-server is free to run and self-host. Both are free to self-host — you only pay for the infrastructure and any model or API usage.

**Which is more popular, context7 or github-mcp-server?**
By GitHub stars — a proxy for open-source adoption — context7 is ahead (60k vs 32k). Stars measure attention, not necessarily the better fit for you.

---
Source: [Agent Search Engine](https://agentsearchengine.app) — https://agentsearchengine.app/compare/context7-vs-github-mcp-server
