Skip to content
Back to search

github-chat-mcp

A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/asyncfuncai--github-chat-mcp/badge.svg)](/listings/asyncfuncai--github-chat-mcp)

HTML

<a href="/listings/asyncfuncai--github-chat-mcp"><img src="/api/listings/asyncfuncai--github-chat-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

# Install with pip
pip install github-chat-mcp

# Or install with the newer uv package manager
uv install github-chat-mcp

3. Start using it with Claude!

Example prompts: - "Use github-chat-mcp to analyze the React repository" - "Index the TypeScript repository with github-chat-mcp and ask about its architecture"

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 187 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # GitHub Chat MCP
  2. A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API. Official Site: https://github-chat.com
  3. ## Installation
  4. ```bash
  5. # Install with pip
  6. pip install github-chat-mcp
  7. # Or install with the newer uv package manager
  8. uv install github-chat-mcp
  9. ```
  10. 3. Start using it with Claude!
  11. Example prompts:
  12. - "Use github-chat-mcp to analyze the React repository"
  13. - "Index the TypeScript repository with github-chat-mcp and ask about its architecture"
  14. # GitHub Chat MCP server
  15. [![smithery badge](https://smithery.ai/badge/github-chat-mcp)](https://smithery.ai/server/github-chat-mcp)
  16. ## Setup Instructions
  17. > Before anything, ensure you have a GitHub Chat API key. This is required to use the service.
  18. Install uv first.
  19. MacOS/Linux:
  20. ```bash
  21. curl -LsSf https://astral.sh/uv/install.sh | sh
  22. ```
  23. Windows:
  24. ```
  25. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  26. ```
  27. ### Setup with Cursor (Recommended)
  28. In mcp.json:
  29. ```json
  30. {
  31. "mcpServers": {
  32. "github-chat": {
  33. "command": "uvx",
  34. "args": [
  35. "github-chat-mcp"
  36. ]
  37. }
  38. }
  39. }
  40. ```
  41. With above, no envs required since it's a freemium release.
  42. ### Setup with Claude Desktop
  43. ```json
  44. # claude_desktop_config.json
  45. # Can find location through:
  46. # Hamburger Menu -> File -> Settings -> Developer -> Edit Config
  47. # Must perform: brew install uv
  48. {
  49. "mcpServers": {
  50. "github-chat": {
  51. "command": "uvx",
  52. "args": ["github-chat-mcp"],
  53. "env": {
  54. }
  55. }
  56. }
  57. }
  58. ```
  59. ### Installing via Smithery
  60. You can install GitHub Chat for Claude Desktop automatically via Smithery:
  61. ```bash
  62. npx -y @smithery/cli install github-chat-mcp --client claude
  63. ```
  64. ### Using GitHub Chat with Claude
  65. 1. Index a GitHub repository first:
  66. "Index the GitHub repository at https://github.com/username/repo"
  67. 2. Then ask questions about the repository:
  68. "What is the core tech stack used in this repository?"
  69. ### Debugging
  70. Run:
  71. ```bash
  72. npx @modelcontextprotocol/inspector uvx github-chat-mcp
  73. ```
  74. ## Local/Dev Setup Instructions
  75. ### Clone repo
  76. `git clone https://github.com/yourusername/github-chat-mcp.git`
  77. ### Install dependencies
  78. Install uv first.
  79. MacOS/Linux:
  80. ```bash
  81. curl -LsSf https://astral.sh/uv/install.sh | sh
  82. ```
  83. Windows:
  84. ```
  85. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  86. ```
  87. Then install MCP server dependencies:
  88. ```bash
  89. cd github-chat-mcp
  90. # Create virtual environment and activate it
  91. uv venv
  92. source .venv/bin/activate # MacOS/Linux
  93. # OR
  94. .venv/Scripts/activate # Windows
  95. # Install dependencies
  96. uv sync
  97. ```
  98. ### Setup with Claude Desktop
  99. #### Using MCP CLI SDK
  100. ```bash
  101. # `pip install mcp[cli]` if you haven't
  102. mcp install /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py -v "GITHUB_API_KEY=API_KEY_HERE"
  103. ```
  104. #### Manually
  105. ```json
  106. # claude_desktop_config.json
  107. # Can find location through:
  108. # Hamburger Menu -> File -> Settings -> Developer -> Edit Config
  109. {
  110. "mcpServers": {
  111. "github-chat": {
  112. "command": "uv",
  113. "args": [
  114. "--directory",
  115. "/ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp",
  116. "run",
  117. "github-chat-mcp"
  118. ],
  119. "env": {
  120. }
  121. }
  122. }
  123. }
  124. ```
  125. ### Using GitHub Chat with Claude
  126. 1. Index a GitHub repository first:
  127. "Index the GitHub repository at https://github.com/username/repo"
  128. 2. Then ask questions about the repository:
  129. "What is the core tech stack used in this repository?"
  130. ### Debugging
  131. Run:
  132. ```bash
  133. # If mcp cli installed (`pip install mcp[cli]`)
  134. mcp dev /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py
  135. # If not
  136. npx @modelcontextprotocol/inspector \
  137. uv \
  138. --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp \
  139. run \
  140. github-chat-mcp
  141. ```
  142. Then access MCP Inspector at `http://localhost:5173`. You may need to add your GitHub API key in the environment variables in the inspector under `GITHUB_API_KEY`.
  143. # Notes
  144. - Level of logging is adjustable through the `FASTMCP_LOG_LEVEL` environment variable (e.g. `FASTMCP_LOG_LEVEL="ERROR"`)
  145. - This MCP server provides two main tools:
  146. 1. Repository Indexing - Index and analyze a GitHub repository
  147. 2. Repository Querying - Ask questions about the indexed repository

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.