Connects Claude to Instagit's repository analysis API through a single `ask_repo` tool. Point it at any GitHub repo using owner/repo shorthand or full Git URL, ask a natural language question about the codebase, and get back AI analysis with file paths and line numbers. The pitch is that agents can read actual source code instead of guessing from docs or stale training data. Works anonymously out of the box with auto-registered tokens, or bring your own API key from instagit.com for higher limits. Useful when you need an agent to understand library internals before generating integration code, debug across dependency boundaries, or evaluate unfamiliar codebases without hallucinating patterns.
Let Your Agents Instantly Understand Any GitHub Repo
An MCP server that gives coding agents instant insight into any Git repository — no guessing, no hallucination.
Share the following with your agent to get started:
curl -s https://instagit.com/install.md
Add to your MCP client configuration:
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": ["-y", "instagit@latest"]
}
}
}
Works with Claude Code, Claude Desktop, Cursor, OpenClaw, and any MCP-compatible client. The @latest tag ensures you always get the most recent version.
Agents that integrate with external libraries are flying blind. They read docs (if they exist), guess at APIs, and hallucinate patterns that don't match the actual code. The result: broken integrations, wrong function signatures, outdated usage patterns, hours of debugging.
When an agent can actually analyze the source code of a library or service it's integrating with, everything changes. It sees the real function signatures, the actual data flow, the patterns the maintainers intended. Integration becomes dramatically easier and less error-prone because the agent is working from ground truth, not guesses.
| Variable | Description | Default |
|---|---|---|
INSTAGIT_API_KEY | API key from instagit.com | Auto-registers anonymous token |
INSTAGIT_API_URL | Custom API endpoint | Production API |
Sign up at instagit.com for higher rate limits and faster analysis:
{
"mcpServers": {
"instagit": {
"command": "npx",
"args": ["-y", "instagit@latest"],
"env": {
"INSTAGIT_API_KEY": "ig_your_api_key_here"
}
}
}
}
No API key required — the server automatically registers an anonymous token on first use. Anonymous tokens are stored in ~/.instagit/token.json and shared with the Python MCP server.
ask_repoAnalyze any Git repository with AI.
Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
repo | string | yes | Repository URL, shorthand (owner/repo), or any public Git URL |
prompt | string | yes | What to analyze or ask about the codebase |
ref | string | no | Branch, commit SHA, or tag (default: repository's default branch) |
Example prompts:
MIT — Copyright (c) 2026 Instalabs, LLC
Learn more at instagit.com
INSTAGIT_API_KEYsecretAPI key from instagit.com for higher rate limits and faster analysis
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp