- Home
- MCP servers
- GitHub
GitHub
- javascript
6
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"kazuph-mcp-github-pera1": {
"command": "npx",
"args": [
"-y",
"@kazuph/mcp-github-pera1"
]
}
}
}You can connect GitHub code repositories to Claude.ai through a dedicated MCP server that uses the Pera1 service to extract code and provide richer context for your prompts and analyses.
How to use
You access this MCP server through your MCP client by configuring a stdio-based server that runs via npx and loads the GitHub integration. Once configured, you can ask Claude questions about GitHub repositories, specific directories, files, or branches by passing the repository URL and optional filters.
Use cases include: explain the implementation of a repository, inspect a component by directory, retrieve a single file, view directory structure with README files, or analyze a specific branch. Each request should include the GitHub repository URL and may include optional filters such as directory paths, file extensions, mode, or branch.
How to install
Prerequisites you need installed before configuring and using this MCP server are Node.js and npm, which provide npx.
-
Install Node.js and npm if they are not already installed on your system.
-
Add the MCP server configuration to your Claude desktop MCP config file. Place the following JSON snippet under
mcpServers.
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@kazuph/mcp-github-pera1"]
}
}
}
Additional notes
Parameters you can use when querying Claude about GitHub repositories include url (required), dir (directories to filter by, comma-separated), ext (file extensions to filter by, comma-separated), mode (display mode, such as tree to show structure and READMEs), branch (branch to fetch from), and file (a single file to retrieve).
Example usage patterns you can try: ask Claude to describe a repository, explain components in a given directory, retrieve a specific file, or analyze a particular branch. Use the URL of the GitHub repository in your request and apply optional filters as needed.