# GitHub MCP Server

Search GitHub repositories, get repository details, list issues and pull requests, and explore GitHub user profiles programmatically.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add nexgendata-apify/github-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list nexgendata-apify/github-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get nexgendata-apify/github-mcp-server get_repo_stats

# Call a tool
npx -y @smithery/cli@latest tool call nexgendata-apify/github-mcp-server get_repo_stats '{}'
```

## Direct MCP Connection

Endpoint: `https://github-mcp-server--nexgendata-apify.run.tools`

## Tools (4)

- `get_repo_stats` — Get detailed statistics for a GitHub repository including stars, forks, issues.
- `search_repos` — Search GitHub repositories by query.
- `get_repo_languages` — Get the programming language breakdown for a GitHub repository.
- `compare_repos` — Compare multiple GitHub repositories side by side.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get nexgendata-apify/github-mcp-server <tool-name>
```
