# A0

> A0 is an open-source MCP server for developer tools. Write, check, run and compile A0 programs through revision-checked structured edits. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows
- **Website:** https://a0lang.com
- **Repository:** https://github.com/joe-simo/a0
- **MCP Registry name:** io.github.Joe-Simo/a0
- **Categories:** developer tools
- **Listing updated:** 2026-11-16

## About

A0 is a small typed programming language designed for models to edit rather than for people to read. Instead of rewriting files, an agent opens a function view, proposes a patch against a known revision, and A0 checks the patch before applying it, so a stale or invalid edit does not land. The project says a model reads only what an edit touches, and reports 7.3 times fewer tokens read per edit than reading the whole file.

The server serves a folder to an agent so it can open function views, apply patches, run checks and save. The same source compiles to native AArch64 code or C, WebAssembly, JavaScript, the JVM, .NET, Metal and SystemVerilog, with every target verified against one oracle.

The project is candid about limits. A0 has no floating point, heap or recursion and treats strings as bytes, so it is a kernel and edit-loop language, not a general-purpose one. Its benchmarks were run on a noisy machine, native speed is slower than the best of C, Rust and Zig on 8 of 19 programs, and a quiet rerun is pending. The licence is Apache 2.0.

## Features

- **Revision-checked patches:** Edits are validated against a revision before they apply.
- **Function views:** Open one function at a time instead of whole files.
- **Many compile targets:** Native, C, WebAssembly, JavaScript, JVM, .NET, Metal and SystemVerilog.
- **Typed functions:** Every function states its types, one operation per line.
- **Checks and fixes:** Reports type and bounds errors and can apply supported fixes.
- **Single binary:** Installs as one file with no Node dependency.

## Good for

- Let an agent edit a single function with a safe patch
- Compile one source to native code and WebAssembly
- Check a small kernel for type and bounds errors
- Experiment with a language designed around agent edit loops

## Install

### Claude Code (Terminal)

```sh
claude mcp add a0 -- npx -y https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "a0": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "a0": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "a0": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "a0": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "a0": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb"
      ]
    }
  }
}
```

## FAQ

### What can't A0 do?

It has no floating point, heap or recursion, and strings are bytes.

### Do I need an account or key?

No, it is free and local.

### How do I connect it?

Run a0 mcp . and register it as a stdio server in your client.

### What licence?

Apache 2.0.

### Is A0 free?

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

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

Run this command in your terminal: claude mcp add a0 -- npx -y https://github.com/Joe-Simo/a0/releases/download/v0.8.16/a0-mcp-darwin-arm64.mcpb

### What are the best alternatives to A0?

The closest alternatives to A0 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/a0
