MCP·774CA2
I

git-mcp

By idosal·Visit Source
GitMCP将GitHub仓库转化为AI可访问的文档中心
2025年4月17日
2 months ago
0 Clicks
About git-mcp

GitMCP将GitHub仓库转化为AI可访问的文档中心. 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.

什么是MCP

GitMCP是一个模型上下文协议服务器,可将GitHub仓库转换为AI助手可访问的结构化文档。它使AI工具能获取最新代码和文档,从而减少幻觉回答。

如何使用MCP

  • 将GitHub URL格式化为GitMCP端点(例如gitmcp.io/{所有者}/{仓库名}
  • 配置您的AI工具(Cursor、Claude等)使用此MCP服务器URL
  • AI现在可以通过该协议访问文档和代码
  • MCP的用途

    - 提供关于GitHub项目的准确、最新答案

    - 使AI工具能够搜索代码和文档

    - 通过基于实际仓库内容的回答来减少幻觉

    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.