Skip to content
MCP server

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

Edit Markdown or GEML files one section at a time, refusing writes that break the file

Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally or Remotely
Version
1.13.1
Listing updated
3 days ago

About 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. It can run locally on your machine or as a hosted remote server.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://geml-mcp.supermarket.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "geml": {
      "url": "https://geml-mcp.supermarket.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Open source

Free and open source

Prices change. Check geml-spec.github.io before you buy.

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

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools