MCP·774CA2
I

git-mcp

By idosal·Visit Source
GitMCP transforms GitHub repos into AI-accessible documentation hubs
April 17, 2025
2 months ago
0 Clicks
About git-mcp

GitMCP transforms GitHub repos into AI-accessible documentation hubs. git-mcp is a Model Context Protocol (MCP) server maintained by idosal. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 7 tools, including fetch_<repo-name>_documentation, search_<repo-name>_documentation, fetch_url_content, search_<repo-name>_code, fetch_generic_documentation, search_generic_code and search_generic_documentation, that an agent can call directly. It is categorized under AI/Documentation and Tool/GitHub.

What is this MCP

GitMCP is a Model Context Protocol server that converts GitHub repositories into structured documentation accessible to AI assistants. It enables AI tools to fetch up-to-date code and docs to reduce hallucinations.

How to use this MCP

  • Format your GitHub URL into a GitMCP endpoint (e.g., gitmcp.io/{owner}/{repo})
  • Configure your AI tool (Cursor, Claude, etc.) to use this MCP server URL
  • The AI can now access documentation and code via the protocol
  • What this MCP can be used for

    - Providing accurate, up-to-date answers about GitHub projects

    - Enabling AI tools to search code and documentation

    - Reducing hallucinations by grounding responses in actual repo content

    Repository Info
    Stars:
    7989
    Forks:
    707
    Watchers:
    7989
    Last Updated: 2 months ago

    AIMCP authority

    DR and traffic signal for the AIMCP public domain.

    FAQ

    Frequently asked questions

    What is the git-mcp MCP server?

    git-mcp is a Model Context Protocol server from idosal. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

    How do I connect git-mcp to my AI client?

    Add git-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

    What tools does git-mcp provide?

    git-mcp provides 7 tools: fetch_<repo-name>_documentation, search_<repo-name>_documentation, fetch_url_content, search_<repo-name>_code, fetch_generic_documentation, search_generic_code and search_generic_documentation.

    Is git-mcp free to use?

    git-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

    Sponsored

    Vernclaw Plugins for OpenClaw

    Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.