reposnap-mcp

Load any public GitHub repository into Claude, Cursor, or Windsurf — instantly, via MCP.

Stop copying and pasting code. This Model Context Protocol server lets Claude, Cursor, and Windsurf fetch and analyze entire GitHub repositories on demand — no manual steps after setup.

View on GitHub

No Setup

Just paste a URL. No auth, no build steps.

Full Context

Complete file tree and source in seconds.

Open Source

Free forever, MIT licensed, self-hostable.

Why MCP vs. gitingest?

Tools like gitingest are useful — but they require manual intervention every time. reposnap-mcp is different.

gitingest / similar tools

  • Visit website or CLI each time
  • Generate a text blob manually
  • Copy and paste into your AI chat
  • One-time snapshot — stale immediately
  • User-initiated every single time

reposnap-mcp

  • Configure once, works forever
  • AI calls it automatically mid-conversation
  • No copy-paste, no manual step
  • Fetches live from GitHub every time
  • Zero user action after initial setup

How it works

Configure once. Point your MCP client to reposnap-mcp. Takes under a minute.

Call ingest_repo. Pass any public GitHub URL. No authentication needed.

Get full context. File tree, all source code, and configuration files are injected into your AI's context instantly.

This Model Context Protocol server is called directly by the AI — Claude, Cursor, or Windsurf decides when to fetch the repo based on your request. You describe the task; the AI handles the rest.

Learn

Understand unfamiliar codebases with AI help.

Refactor

Modernize code across entire projects.

Document

Generate README and API docs.

Audit

Review security and code quality.

Debug

Find and fix bugs at scale.

Test

Generate tests and improve coverage.

API Reference

The ingest_repo tool is available after setup.

Parameter Type Description
repo_url string GitHub repository URL (e.g., https://github.com/user/repo)

Output: Complete file tree and source code as plain text. 100KB per-file cap, 500KB total output cap.

Questions

Is it free? Yes. Open source (MIT) and the endpoint is free.

Do I need an account? No account needed, but you are subject to GitHub's rate limits.

Rate limits? 60 requests per hour, per IP address (unauthenticated). Self-host with your own GitHub token for higher limits. See GitHub's rate limit docs for current limits.

Private repos? Public repos only on the hosted endpoint. Self-host with a PAT that has repo scope to access private repositories.

How is this different from gitingest or similar tools? gitingest requires you to manually generate and paste a text blob each time. reposnap-mcp is a Model Context Protocol server — the AI calls it directly during your conversation. Configure once; it works automatically from then on.

Does this work with Cursor? Yes. Add the same JSON config to .cursor/mcp.json and restart Cursor.

Can I use this on Claude.ai? Yes. Go to Claude.ai Settings → Connectors and add the endpoint URL as a custom connector.

Self-host? Yes. Full source on GitHub, including Docker and Node.js support.

Privacy? We don't store data. Repos are fetched on-demand from GitHub.

Ready to get started?