MCP Private GitHub Search
@Hint-Services
About MCP Private GitHub Search
MCP Server to search individual private Github Repositories
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-private-github-search": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@Hint-Services/mcp-private-github-search",
"--client",
"claude"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is MCP Private GitHub Search?
MCP Private GitHub Search is a Model Context Protocol (MCP) server that provides search and file retrieval tools for private GitHub repositories. It integrates with GitHub's API, automatically handling rate limiting, type safety, input validation, and error handling, making it suitable for developers and AI hosts that need to query private repositories.
How to use MCP Private GitHub Search?
Install via Smithery or pnpm add mcp-private-github-search, then configure your MCP client with GITHUB_TOKEN, GITHUB_OWNER, and GITHUB_REPO environment variables. The server exposes three tools: searchFiles, searchIssues, and getFileContents, which can be invoked by MCP clients (e.g., Claude, Cursor, Windsurf, Cline).
Key features of MCP Private GitHub Search
- Search private GitHub repositories for files and issues.
- Get the contents of a specific file in a repository.
- Type-safe implementation written in TypeScript.
- Robust input validation using Zod schemas.
- Graceful error handling with informative messages.
Use cases of MCP Private GitHub Search
- Searching private codebases for specific file names or patterns.
- Looking up issues in a private repository by criteria.
- Retrieving file contents for analysis or review by an AI assistant.
FAQ from MCP Private GitHub Search
What does MCP Private GitHub Search do?
It acts as a bridge between AI hosts (like Claude or Cursor) and private GitHub repositories, allowing AI tools to search for files and issues, and retrieve file contents using GitHub’s API.
What dependencies or runtime are required?
You need Node.js and a valid GitHub token with access to the target private repository. The server runs as a command-line tool via npx or can be installed as a npm package.
How do I authenticate with GitHub?
Provide your GitHub personal access token via the GITHUB_TOKEN environment variable. The token must have permission to read the specified repository.
Which transports and protocols are used?
The server communicates using JSON-RPC 2.0 over stdio, conforming to the Model Context Protocol standard.
Are there any known limits or rate handling?
GitHub API rate limiting is handled automatically; the server integrates rate-limit awareness and reports informative errors when limits are reached.
Frequently asked questions
What does MCP Private GitHub Search do?
It acts as a bridge between AI hosts (like Claude or Cursor) and private GitHub repositories, allowing AI tools to search for files and issues, and retrieve file contents using GitHub’s API.
What dependencies or runtime are required?
You need Node.js and a valid GitHub token with access to the target private repository. The server runs as a command-line tool via `npx` or can be installed as a npm package.
How do I authenticate with GitHub?
Provide your GitHub personal access token via the `GITHUB_TOKEN` environment variable. The token must have permission to read the specified repository.
Which transports and protocols are used?
The server communicates using JSON-RPC 2.0 over stdio, conforming to the Model Context Protocol standard.
Are there any known limits or rate handling?
GitHub API rate limiting is handled automatically; the server integrates rate-limit awareness and reports informative errors when limits are reached.
Basic information
More Search MCP servers
Tavily Mcp
tavily-aiProduction ready MCP server with real-time search, extract, map & crawl.
Google Search Console MCP server for SEOs
AminForouGoogle Search Console Insights with Claude AI for SEOs
Google Search Tool
web-agent-masterA Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches. Local alternative to SERP APIs with MCP server integration.
Everything Search MCP Server
mamertofabian小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Comments