GitMCP
Документация и код любого открытого репозитория на GitHub — без установки
Добавьте сервер в «Мои MCP» — получите адрес подключения для Claude и ChatGPT.
Добавить в «Мои MCP»Нужно войти или зарегистрироваться — вернём на эту страницу.
Описание
GitMCP превращает любой открытый репозиторий на GitHub в источник знаний для ассистента: README, документацию и сам код можно читать и искать, не клонируя проект. Инструменты: - match_common_libs_owner_repo_mapping — находит репозиторий по названию библиотеки; - fetch_generic_documentation — загружает документацию репозитория; - search_generic_documentation — смысловой поиск по документации; - search_generic_code — поиск по коду репозитория; - fetch_generic_url_content — загружает страницу по ссылке из документации. Кому полезен: разработчикам, которые разбираются в чужой библиотеке или выбирают зависимость. Примеры вопросов: — «Как в репозитории fastapi/fastapi устроены зависимости (Depends)?» — «Найди в коде pallets/flask, где обрабатываются ошибки 404» Работает только с открытыми репозиториями. Ключ не нужен.
Инструменты · 5
из ответа tools/list
fetch_generic_documentation
fetch_generic_documentation
Fetch documentation for any GitHub repository by providing owner and project name
fetch_generic_documentation(repo: string, owner: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"owner",
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "The GitHub repository name"
},
"owner": {
"type": "string",
"description": "The GitHub repository owner (username or organization)"
}
},
"additionalProperties": false
}
fetch_generic_url_content
fetch_generic_url_content
Generic tool to fetch content from any absolute URL, respecting robots.txt rules. Use this to retrieve referenced urls (absolute urls) that were mentioned in previously fetched documentation.
fetch_generic_url_content(url: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The URL of the document or page to fetch"
}
},
"additionalProperties": false
}
match_common_libs_owner_repo_mapping
match_common_libs_owner_repo_mapping
Match a library name to an owner/repo. Don't use it if you have an owner and repo already. Use this first if only a library name was provided. If found - you can use owner and repo to call other tools. If not found - try to use the library name directly in other tools.
match_common_libs_owner_repo_mapping(library: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"library"
],
"properties": {
"library": {
"type": "string",
"description": "The name of the library to try and match to an owner/repo."
}
},
"additionalProperties": false
}
search_generic_code
search_generic_code
Search for code in any GitHub repository by providing owner, project name, and search query. Returns matching files. Supports pagination with 30 results per page.
search_generic_code(page?: number, repo: string, owner: string, query: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"owner",
"repo",
"query"
],
"properties": {
"page": {
"type": "number",
"description": "Page number to retrieve (starting from 1). Each page contains 30 results."
},
"repo": {
"type": "string",
"description": "The GitHub repository name"
},
"owner": {
"type": "string",
"description": "The GitHub repository owner (username or organization)"
},
"query": {
"type": "string",
"description": "The search query to find relevant code files"
}
},
"additionalProperties": false
}
search_generic_documentation
search_generic_documentation
Semantically search in documentation for any GitHub repository by providing owner, project name, and search query. Useful for specific queries.
search_generic_documentation(repo: string, owner: string, query: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"owner",
"repo",
"query"
],
"properties": {
"repo": {
"type": "string",
"description": "The GitHub repository name"
},
"owner": {
"type": "string",
"description": "The GitHub repository owner (username or organization)"
},
"query": {
"type": "string",
"description": "The search query to find relevant documentation"
}
},
"additionalProperties": false
}
Вопросы, новые серверы, обсуждение MCP
t.me/rusmcp · t.me/RusMcp_bot