# GEML — a plain-text document format built to be edited in place, one section at a time

> GEML — a plain-text document format built to be edited in place, one section at a time is an open-source MCP server for files and documents. Edit Markdown or GEML files one section at a time, refusing writes that break the file. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, API
- **Website:** https://geml-spec.github.io
- **Repository:** https://github.com/geml-spec/geml
- **MCP Registry name:** io.github.geml-spec/geml
- **Categories:** files and documents, developer tools
- **Listing updated:** 2026-11-14

## About

Rather than trading a whole file back and forth, an agent reads one section, rewrites it, and puts only that section back. The verbs are list, find, get, set, add, delete and revert, the same names for the command line and the MCP tools. A write is refused before it reaches disk if it would break the document, for example by leaving a reference to a section that no longer exists.

It works on plain Markdown without converting anything: every heading becomes an address. The richer GEML format gives blocks such as tables, data, charts and notes their own names, and addresses single cells or JSON leaves. Each save can be a revision, and revert rolls back one section while keeping edits made elsewhere.

Install the npm package @geml/geml (Node 22+) for a stdio server, or use the hosted streamable HTTP endpoint. The project publishes a 1.0 specification with a 429-case conformance suite.

## Features

- **Section-level reads:** Fetch one section instead of the whole file.
- **Validated writes:** Refuses edits that would break references.
- **Per-section revert:** Roll back one section and keep other edits.
- **Works on Markdown:** Headings become addresses with no conversion.
- **Cell addressing:** GEML reaches table cells and JSON leaves.
- **Specified format:** 1.0 spec with a conformance suite.

## Good for

- Let an agent update one part of a long plan
- Keep README edits small and reviewable
- Revert a single bad rewrite
- Edit a table cell without touching the rest

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http geml https://geml-mcp.supermarket.workers.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://geml-mcp.supermarket.workers.dev/mcp
```

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

```json
{
  "mcpServers": {
    "geml": {
      "url": "https://geml-mcp.supermarket.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "geml": {
      "type": "http",
      "url": "https://geml-mcp.supermarket.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "geml": {
      "serverUrl": "https://geml-mcp.supermarket.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "geml": {
      "type": "http",
      "url": "https://geml-mcp.supermarket.workers.dev/mcp"
    }
  }
}
```

## Tools

- `list`: Lists sections or blocks as addresses.
- `find`: Finds text and reports which block holds it.
- `get`: Reads one section or block.
- `set`: Replaces one section, refusing writes that would break the document.
- `add`: Adds a block or section.
- `delete`: Deletes a block or section.
- `revert`: Rolls back one section to an earlier revision.

## FAQ

### Do I have to convert my Markdown?

No, plan.md stays plan.md and headings are addressable.

### What Node version is needed?

Node 22 or later for the npm package.

### What happens on a bad write?

It is refused and nothing is written.

### Is it open source?

The repository lists licences for the code and the specification.

### Is GEML — a plain-text document format built to be edited in place, one section at a time free?

Yes. GEML — a plain-text document format built to be edited in place, one section at a time is open source, so you can use and self-host it for free.

### How do I add GEML — a plain-text document format built to be edited in place, one section at a time to Claude Code?

Run this command in your terminal: claude mcp add --transport http geml https://geml-mcp.supermarket.workers.dev/mcp

### What are the best alternatives to GEML — a plain-text document format built to be edited in place, one section at a time?

The closest alternatives to GEML — a plain-text document format built to be edited in place, one section at a time 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/geml-a-plain-text-document-format-built-to-be-edited-in-plac
