# Greenlit

> Greenlit is a free MCP server for security. Grade an AI-built app from A to F for leaked keys and open data, with fix prompts. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, CLI
- **Website:** https://greenlit.priberry.com
- **Repository:** https://github.com/priberry-data/greenlitlab
- **MCP Registry name:** io.github.priberry-data/greenlitlab
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-14

## About

A stranger's view of your site drives the grade. Greenlit scans the JavaScript every visitor downloads for 32 kinds of secret keys, a Supabase service_role key in the browser, exposed source maps, missing clickjacking and security headers, and leftovers like Stripe in test mode or a page pointing at a developer's machine. A single critical problem is an F whatever else is right.

Each problem comes with a prompt written for the builder, whether Lovable, Bolt, v0, Replit or Emergent, so you can paste fixes back in worst first and recheck. For your own app, the --mine flag also tests whether Supabase tables, storage buckets or Firebase data are open, using row counts and file names only and never reading or writing data.

It runs in the browser with no sign-up, from npx, in CI with a fail-on threshold, or as an MCP server so an agent can check what it just deployed. Seven owner-only questions on backups and spending limits are asked but never graded.

## Features

- **32 secret key types:** Finds leaked Stripe, OpenAI, AWS, Supabase and other keys in front-end code.
- **Fix prompts:** Each finding comes with a prompt for the app builder.
- **Owner-only database checks:** The --mine flag tests open tables, buckets and Firebase data.
- **A to F grading:** Grades follow danger; one critical finding is an F.
- **CI gating:** --fail-on high exits non-zero on serious findings.
- **Honest limits:** States what it could not check and asks what only you know.

## Good for

- Check a Lovable or Bolt app before launch
- Verify a fix worked and the grade went up
- Fail a pipeline when something serious opens up
- Ask an agent to check what it just deployed

## Install

### Claude Code (Terminal)

```sh
claude mcp add greenlitlab -- npx -y greenlitlab
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "greenlitlab": {
      "command": "npx",
      "args": [
        "-y",
        "greenlitlab"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "greenlitlab": {
      "command": "npx",
      "args": [
        "-y",
        "greenlitlab"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "greenlitlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "greenlitlab"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "greenlitlab": {
      "command": "npx",
      "args": [
        "-y",
        "greenlitlab"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "greenlitlab": {
      "command": "npx",
      "args": [
        "-y",
        "greenlitlab"
      ]
    }
  }
}
```

## FAQ

### Is it free?

The site says it is free, with no sign-up and nothing to install.

### Does it read my users' data?

No. It never signs in, reads user data or writes to your database.

### When does it test my database?

Only on your own computer with --mine, when you say the app is yours.

### How do I run it as an MCP server?

Use npx -y greenlitlab mcp.

### Is Greenlit free?

Yes. Greenlit is free to use.

### How do I add Greenlit to Claude Code?

Run this command in your terminal: claude mcp add greenlitlab -- npx -y greenlitlab

### What are the best alternatives to Greenlit?

The closest alternatives to Greenlit are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/greenlit
