# AppLedger

> AppLedger is an open-source MCP server for security. Plain-English security checks for AI-built apps, with fix requests for your coding agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, Web
- **Website:** https://appledger.net
- **Repository:** https://github.com/contentasoftware/appledger
- **MCP Registry name:** net.appledger/appledger
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-15

## About

AppLedger scans an app folder with two independent open-source scanners, Trivy and Opengrep, so the AI tool that wrote the code is not the one grading it. Trivy looks for leaked keys, outdated libraries with known problems and risky container setups. Opengrep looks for patterns such as SQL injection, command injection, unsafe data loading and debug mode left on. SonarQube can be added in local mode.

Each run writes a report, a ready-made fix request to hand back to the agent that built the app, and a findings file, all in a .appledger folder. The report also says who may use the app for now: just you, a team or the whole company.

There are two modes. Hosted, the default, zips the files Git would commit and sends them over HTTPS to appledger.net, where they are scanned and deleted; secret files such as .env and key files are never sent, and you confirm before the first upload of each folder. Local mode keeps everything on your machine. An optional connection key adds the app to a company ledger of owners, grades and history. The plugin and Python package are MIT-licensed.

## Features

- **Two independent scanners:** Runs Trivy and Opengrep, with optional SonarQube in local mode.
- **Plain-language report:** Explains each problem, why it matters and what to do, with a score.
- **Fix request for agents:** Writes a prompt you can pass to the AI tool that built the app, then re-check.
- **Hosted or local mode:** Scan on appledger.net or run the scanners on your own computer.
- **Secret-file exclusion:** Never uploads files such as .env, keys and credentials, and lists what would be sent before upload.
- **Company ledger:** With a connection key, tracks each app's owner, grade and history in a dashboard.

## Good for

- Check whether a Claude Code or Lovable app is safe to share
- Find leaked API keys before pushing a prototype
- Hand a fix list straight to the coding agent and re-run the check
- Keep a list of AI-built apps and their owners across a company
- Scan code locally when it cannot leave your machine

## Install

### Claude Code (Terminal)

```sh
claude mcp add appledger --env APPLEDGER_KEY='<APPLEDGER_KEY>' -- uvx appledger
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "appledger": {
      "command": "uvx",
      "args": [
        "appledger"
      ],
      "env": {
        "APPLEDGER_KEY": "<APPLEDGER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "appledger": {
      "command": "uvx",
      "args": [
        "appledger"
      ],
      "env": {
        "APPLEDGER_KEY": "<APPLEDGER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "appledger": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "appledger"
      ],
      "env": {
        "APPLEDGER_KEY": "<APPLEDGER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "appledger": {
      "command": "uvx",
      "args": [
        "appledger"
      ],
      "env": {
        "APPLEDGER_KEY": "<APPLEDGER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "appledger": {
      "command": "uvx",
      "args": [
        "appledger"
      ],
      "env": {
        "APPLEDGER_KEY": "<APPLEDGER_KEY>"
      }
    }
  }
}
```

## FAQ

### Is the check free?

Yes. The check, the report and the fix request are free, and the ledger is free during the pilot.

### Do you keep my code?

The site says source files are sent over HTTPS, scanned and deleted right after. In local mode your code stays on your computer.

### What is never uploaded in hosted mode?

Files such as .env, private keys, certificates, credentials JSON and secrets folders are excluded, and you can preview the file list with --list-files.

### Is it open source?

The plugin and the Python package are MIT-licensed on GitHub. The hosted ledger is the company's own service.

### How do I install it?

Add the Claude Code plugin, run it with uvx as an MCP server, or install the appledger package from PyPI.

### Is AppLedger free?

Yes. AppLedger is open source, so you can use and self-host it for free.

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

Run this command in your terminal: claude mcp add appledger --env APPLEDGER_KEY='<APPLEDGER_KEY>' -- uvx appledger

### What are the best alternatives to AppLedger?

The closest alternatives to AppLedger 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/appledger
