MCP Directory

Git (Reference) vs Context7 MCP Server

A side-by-side comparison of two Files & Storage servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Git (Reference)

Official MCP server for reading, searching, and manipulating a local Git repository's files and history.

Verified
stdio (local)
No auth
Python
Context7 MCP Server

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
CategoryFiles & StorageDeveloper Tools
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars74k28k
Last commit5 months ago19 days ago
Verified
Actively maintained
Installuvx mcp-server-git --repository /absolute/path/to/reponpx -y @upstash/context7-mcp
RepoOpen Open

Verdict

Pick Git (Reference) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Pick Context7 MCP Server if you prefer its approach (up-to-date, version-specific library documentation injected into your coding agent).

Add Git (Reference)

Install / run
uvx mcp-server-git --repository /absolute/path/to/repo

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "git-reference": {
      "command": "uvx",
      "args": [
        "mcp-server-git",
        "--repository",
        "/absolute/path/to/repo"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add Context7 MCP Server

Install / run
npx -y @upstash/context7-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "context7-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ],
      "env": {
        "CONTEXT7_API_KEY": "<optional-your-context7-api-key>"
      }
    }
  }
}

FAQ

Git (Reference) or Context7 MCP Server — which is better?

Pick Git (Reference) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key. Pick Context7 MCP Server if you prefer its approach (up-to-date, version-specific library documentation injected into your coding agent).

Can I use both Git (Reference) and Context7 MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Git (Reference) and Context7 MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.