GitLumen MCP logo

GitLumen MCP

Screens public GitHub repositories and pull requests for local risk analysis, findings, and merge-readiness signals.

Install GitLumen MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for GitLumen MCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

GitLumen MCP MCP server lets MCP clients screen public GitHub repositories and pull requests for risk signals. It reads GitHub metadata, repository files, and PR changes, then applies a local heuristic analyzer without sending source code to external LLMs. Results include risk scores, category maps, findings, review chapters, decision questions, recommendations, and merge-readiness estimates. Use it when an agent needs repeatable repository or PR review intelligence, with optional GitHub authentication for higher rate limits or private repositories.

Use cases

  • Screen a public repository before adopting it
  • Review a GitHub pull request for risk signals
  • Retrieve and compare locally stored review reports
  • Inspect repository structure without generating a full report

Key features

  • Repository and pull request screening
  • Local heuristic risk analysis
  • Risk maps and merge-readiness signals
  • Local JSON report persistence
  • Stdio and Streamable HTTP transports
  • CLI and MCP Inspector support

Tools5

What GitLumen MCP lets your agent do. Expand a tool for its parameters.

Self-reported~79 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

5/5 checks healthy over the last 20d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit5mo agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.

How GitLumen MCP works

What GitLumen MCP MCP server does

GitLumen MCP MCP server exposes GitHub repository and pull request review analysis through the Model Context Protocol. An MCP client can submit a public repository URL or a URL containing /pull/<number>, choose a scan scope, and request compact JSON, full JSON, or Markdown output.

The analyzer produces a risk score, severity level, category scores, findings, review chapters, decision questions, recommended next actions, and a merge-readiness signal. Risk categories include security, dependencies, tests, architecture, operations, and maintainability. Findings can cover areas such as possible hardcoded secrets, dynamic code execution, command execution, SQL interpolation, container configuration, and GitHub Actions supply-chain concerns.

Reports are saved locally as JSON files under the configured data directory, allowing later retrieval by report ID. The project also includes a CLI for testing scans and reading saved reports without connecting an MCP client.

How it works

GitLumen MCP MCP server fetches repository metadata, the default branch, a recursive file tree, and selected source or configuration files from GitHub. For pull request URLs, it also reads PR metadata and changed files. The local analyzer then detects languages and frameworks, examines dependency and lockfile information, checks for tests and CI, and generates heuristic risk signals.

Source code stays within the local analysis flow rather than being sent to an external LLM. The quick scope examines fewer files for faster results, while standard provides the balanced default. A local fixture can be used to test analyzer and report-storage behavior without GitHub network access.

Setup and configuration

The project requires Node.js 20 or newer, npm, and internet access when fetching GitHub metadata or files. Install dependencies with npm install, then run the included doctor command to check the Node version, data directory, and report directory.

Public repositories can be scanned without a GitHub token, although GITHUB_TOKEN is available for higher API limits and private repositories when its permissions allow access. GITLUMEN_MCP_DATA_DIR changes where reports are stored, and GITLUMEN_MAX_FILE_BYTES limits the size of files considered by the analyzer.

The normal MCP entry point uses stdio and is started by an MCP client. The project also provides a Streamable HTTP endpoint at /mcp, with PORT, HOST, and optional MCP_AUTH_TOKEN settings. When HTTP authentication is enabled, clients must send a bearer token. A /health endpoint is available for checks.

Tools and capabilities

The available MCP tools are:

  • screen_repository scans a repository or pull request and selects scope and output format.
  • get_review_report retrieves a previously saved report by ID.
  • list_review_reports lists locally stored reports with a requested limit.
  • get_repository_structure returns repository or PR structure without creating a full risk report.
  • explain_gitlumen_mcp_flow explains the current repository-intelligence path and how a future Base MCP path could be attached.

The CLI supports repository scans, pull request scans, report listing, and report retrieval in Markdown or JSON. It also supports an offline sample command and MCP debugging through MCP Inspector.

Limitations and notes

Analysis is heuristic and should be treated as review input rather than proof that a repository is safe or ready to merge. GitHub access is required for live scans, and unauthenticated requests may encounter lower rate limits. Private repository access depends on the configured token and its scope.

The current project does not execute onchain transactions and does not use Base MCP send_calls. The documented Base MCP connection is a future extension after the repository-intelligence flow is in place.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GitLumen MCP

GitLumen MCP is an MCP server that connects AI agents to public GitHub repositories and pull requests through MCP. Its main tools screen repositories or PRs, inspect repository structure, retrieve stored reports, list reports, and explain the GitLumen flow. It uses a local analyzer to produce risk scores, findings, and merge-readiness signals.

Install Node.js 20 or newer, change to the project directory, and run `npm install`. Start the stdio entry point with `node /ABSOLUTE/PATH/TO/gitlumen-mcp-server/src/index.js`, then add that command and path to your MCP client configuration. The repository includes example configurations for Claude Desktop and Cursor.

Yes, private repository access is supported with a `GITHUB_TOKEN` when the token has the required scope. Public repositories do not require a token, but authentication is recommended to reduce GitHub rate-limit issues. Access still depends on the permissions granted to the token.

Yes, the project includes a Streamable HTTP endpoint at `/mcp`. Run it with `npm run start:http` and configure `PORT` or `HOST` as needed. `MCP_AUTH_TOKEN` is optional; when set, clients must send `Authorization: Bearer <token>`. A `/health` endpoint is available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGitLumen MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gitlumen-mcp?style=directory)](https://allmcps.com/mcp/gitlumen-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/gitlumen-mcp"><img src="https://allmcps.com/api/badge/gitlumen-mcp?style=directory" alt="GitLumen MCP on AllMCPs" /></a>