gread

An MCP server that gives your AI access to the source code and docs of all public github repos

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
96%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~705Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 0.55%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "gread": {
      "url": "https://api.gread.dev/mcp"
    }
  }
}

遠端端點

https://api.gread.dev/mcpstreamable-http

它能做什麼

工具清單

工具(5)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢search_repos(q)

Search for GitHub repositories by name, description, or topic keywords using the GitHub Search API.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Keyword to search in repository names, descriptions, or topics"
    }
  },
  "required": [
    "q"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢view_repo(name)

View repository basic information and its directory structure. Includes corresponding documentation repo if available.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$",
      "description": "Full name of the repository (owner/name)"
    }
  },
  "required": [
    "name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢list_tree(name, targetDir, maxDepth, maxPerDir)

List the directory tree of a specific path in a repository with customizable depth and traversal limits.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$",
      "description": "Full name of the repository (owner/name)"
    },
    "targetDir": {
      "default": "",
      "description": "Target directory path to inspect. Leaves empty to search from root.",
      "type": "string"
    },
    "maxDepth": {
      "default": 3,
      "description": "Maximum depth into the directory structure to list.",
      "type": "number"
    },
    "maxPerDir": {
      "default": 40,
      "description": "Maximum number of items to display per directory level.",
      "type": "number"
    }
  },
  "required": [
    "name"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢read_code(name, paths)

Retrieve the raw source code of specified files from within a known repository.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$",
      "description": "Full name of the repository (owner/name)"
    },
    "paths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of precise file paths within the repository"
    }
  },
  "required": [
    "name",
    "paths"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_code(name, query, ignoreCase, fixedStrings, extendedRegexp, ...)

Perform a fast git grep inside the repository, allowing regex matching by default or substring search.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$",
      "description": "Full name of the repository (owner/name)"
    },
    "query": {
      "type": "string",
      "description": "Search pattern or query to pass to git grep"
    },
    "ignoreCase": {
      "description": "Ignore case distinctions in both the PATTERN and the input files (-i)",
      "type": "boolean"
    },
    "fixedStrings": {
      "description": "Use fixed strings for patterns (don’t interpret pattern as a regex) (-F)",
      "type": "boolean"
    },
    "extendedRegexp": {
      "description": "Use extended regular expressions (-E)",
      "type": "boolean"
    },
    "contextLines": {
      "description": "Print num lines of output context (-C)",
      "type": "number"
    },
    "path": {
      "description": "Directory or file path to limit the search scope",
      "type": "string"
    }
  },
  "required": [
    "name",
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本5 個工具
已驗證未記錄版本5 個工具
已驗證未記錄版本5 個工具