
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

ghcontext is a TypeScript MCP server that gives MCP-enabled AI assistants live access to GitHub repository information, including README contents, API documentation, repository structure, and file contents, with intelligent caching.
ghcontext: an MCP server providing real-time GitHub repository context to LLMs is cataloged as an MCP server attributed to marcomuellner. ghcontext is a TypeScript MCP server that gives MCP-enabled AI assistants live access to GitHub repository information, including README contents, API documentation, repository structure, and file contents, with intelligent caching. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for ghcontext: an MCP server providing real-time GitHub repository context to LLMs are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, ghcontext requires a GitHub token for authentication, and the README advises granting only the scopes needed, noting it does not need write access.
Yes, the README states that ghcontext provides real-time repository information also for private repositories.
It is described as compatible with any MCP-enabled models, including Claude and GPT.
README.md · 1997f19ad60d · 采集于 2026-11-13 11:51:38 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
"But my GitHub repo changed yesterday..." - Never worry about outdated information in your AI assistants again.
ghcontext (GitHub Context Provider) bridges the gap between GitHub and Large Language Models, giving AI assistants real-time access to repository information through the standardized Model Context Protocol (MCP).
ghcontext requires a GitHub token for authentication. You are responsible for managing your token securely, and you should give it only the scopes really necessary for your use case.
For example, if you only need to read public repositories, you can create a token with the public_repo scope. ghcontext does not need write access to your repositories.
# Run directly without installation (GitHub token is REQUIRED)
npx ghcontext --GITHUB_TOKEN your_github_token
# OR using pnpm
pnpm dlx ghcontext --GITHUB_TOKEN your_github_token
This is the preferred way to give it to the claude agent, as it doesn't require any installation and you can run it directly from the command line.
# Install globally using npm
npm install -g ghcontext
# OR using pnpm
pnpm add -g ghcontext
# Run ghcontext with your GitHub token (REQUIRED)
ghcontext --GITHUB_TOKEN your_github_token
# Clone the repository
git clone https://github.com/yourusername/ghcontext.git
cd ghcontext
# Install dependencies
pnpm install
# Start the server with GitHub token (REQUIRED)
pnpm start --GITHUB_TOKEN your_github_token
Connect your MCP-compatible LLM to the ghcontext server endpoint:
http://localhost:3000/api/mcp
Your LLM will now have access to tools like:
get-repository-info: Get detailed information about a repositoryget-repository-readme: Retrieve the current README contentget-repository-api-docs: Extract API documentationsearch-repository-files: Find files in a repositoryget-file-content: Retrieve specific file contentsAsk your MCP-enabled AI assistant:
"What are the available methods in the axios library for handling request interceptors?"
Instead of getting outdated or generic information, your assistant can:
get-repository-api-docs to fetch the latest axios API documentationghcontext follows a modular design:
┌─────────────────┐ ┌──────────────┐ ┌────────────────┐
│ MCP Server │◄─────►│ GitHub API │◄─────►│ GitHub.com │
│ (TypeScript) │ │ Client │ │ │
└────────┬────────┘ └──────────────┘ └────────────────┘
│
│
┌────────▼────────┐ ┌──────────────┐
│ Context │ │ Caching │
│ Processors │◄─────►│ System │
└─────────────────┘ └──────────────┘
Traditional AI assistants struggle with:
ghcontext solves these problems by giving LLMs a direct line to GitHub's latest information, making your AI assistants more accurate, more helpful, and more in sync with your evolving codebase.
# Build the project
pnpm run build
# Run tests
pnpm test
# Lint your code
pnpm run lint
# Format your code
pnpm run format
If you're a maintainer of this package and need to publish a new version:
Update the version in package.json:
# For patch releases (bug fixes)
npm version patch
# For minor releases (new features, no breaking changes)
npm version minor
# For major releases (breaking changes)
npm version major
Publish to npm:
# The prepublishOnly script will run linting, tests, and build automatically
npm publish
Push tags to GitHub:
git push --follow-tags
This project is MIT licensed - see the LICENSE file for details.
ghcontext: Because your AI assistant should understand your code as well as you do.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for ghcontext: an MCP server providing real-time GitHub repository context to LLMs from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/ghcontext)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.