Free remote MCP server that gives agents up-to-date code and documentation from any GitHub repository.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add gitmcp --env OWNER='<OWNER>' --env REPO='<REPO>' -- npx mcp-remote 'https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}'~/.codex/config.toml
[mcp_servers.gitmcp]
command = "npx"
args = ["mcp-remote", "https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"]
env = { OWNER = "<OWNER>", REPO = "<REPO>" }
# codex mcp add gitmcp --env OWNER='<OWNER>' --env REPO='<REPO>' -- npx mcp-remote 'https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}'~/.cursor/mcp.json
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"
],
"env": {
"OWNER": "<OWNER>",
"REPO": "<REPO>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gitmcp": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"
],
"env": {
"OWNER": "<OWNER>",
"REPO": "<REPO>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"
],
"env": {
"OWNER": "<OWNER>",
"REPO": "<REPO>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"
],
"env": {
"OWNER": "<OWNER>",
"REPO": "<REPO>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{{config.OWNER}}/{{config.REPO}}"
],
"env": {
"OWNER": "<OWNER>",
"REPO": "<REPO>"
}
}
}
}Remote
claude mcp add --transport http gitmcp http://gitmcp.io/docs~/.codex/config.toml
[mcp_servers.gitmcp]
url = "http://gitmcp.io/docs"
# codex mcp add gitmcp --url http://gitmcp.io/docs~/.cursor/mcp.json
{
"mcpServers": {
"gitmcp": {
"url": "http://gitmcp.io/docs"
}
}
}.vscode/mcp.json
{
"servers": {
"gitmcp": {
"type": "http",
"url": "http://gitmcp.io/docs"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gitmcp": {
"httpUrl": "http://gitmcp.io/docs"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"gitmcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://gitmcp.io/docs"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gitmcp": {
"url": "http://gitmcp.io/docs"
}
}
}Environment variables
OWNERREPO
Replace the placeholders with your own credentials and keep them out of version control.