Skip to main content
Glama

CEDRUS

Reasoning scaffolding that supercharges your small AI.

CEDRUS gives a local model an argument map to think in: the model lays out claims and the reasons for and against them, and the map keeps everything in place.

  • A scaffold, not a scratchpad. The map records which reason answers which claim, so the model doesn't have to hold it in its head, and a small model can work through a debate that would otherwise swamp it.

  • Structure is checked for the model. IDs, sides and placement are worked out by the server. A move that doesn't fit is refused with an explanation, so mistakes get fixed instead of piling up.

  • You see the reasoning. Every step lands in a map you can read, question and extend: "add an objection to A3", "what supports A7?".

  • Local and private. Made for small models on your own machine, with maps saved as plain text and JSON.

What a map looks like

- C1 Legalisation of Soft Drugs
  - A1 Minimize destructive activity [con] — attacks C1
  - A2 No harm, no ban [pro] — supports C1
    - A3 Law must protect [con] — attacks A2
      - A4 Soft drugs are harmful [con] — supports A3 (also attacks A2, supports A1)
  - A5 Lifestyle decision [pro] — supports C1
    - A6 Moral leadership [con] — attacks A5
  - A7 Alcohol and tobacco analogy [pro] — supports C1
    - A8 Tobacco and alcohol more dangerous [pro] — supports A7
    - A9 Major differences [con] — attacks A7
    - A10 Poor reason [con] — undercuts A7
  - A11 Listen to society [pro] — supports C1
  - A12 Argument from addiction [con] — attacks C1
    - A13 Soft drugs are addictive [con] — supports A12
    - A14 Addiction no reason to ban [pro] — undercuts A12
  - A15 Slippery slope [con] — attacks C1
    - A16 Coffee houses [pro] — attacks A15
  - A19 Tax revenue [pro] — supports C1

This is the outline. The full view the model reads also has every claim and argument in full, and notes which ones nothing has challenged yet.

Related MCP server: debate-arena

Quick start

1. Install uv

CEDRUS is started by uv, which downloads and runs it for you.

# macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

2. Add CEDRUS to your app

Each setup below saves your maps to ~/cedrus-maps, a folder in your home directory. Use any folder you like, or leave out --save-dir and its path if you don't want files.

Whichever app you use, the model has to support tool calling.

LM Studio

In the right sidebar, open the Program tab and choose Install → Edit mcp.json. Add CEDRUS under mcpServers:

{
  "mcpServers": {
    "cedrus": {
      "command": "uvx",
      "args": ["cedrus-mcp", "--save-dir", "~/cedrus-maps"]
    }
  }
}

Jan

Go to Settings → MCP Servers, click +, and fill in:

Field

Value

Server Name

cedrus

Command

uvx

Arguments

cedrus-mcp --save-dir ~/cedrus-maps

For a local model, turn on tool calling in the model's settings (the edit button under Model Capabilities).

Goose

Run goose configure, choose Add Extension → Command-line Extension, name it cedrus, and give the command uvx cedrus-mcp --save-dir ~/cedrus-maps. In Goose Desktop, the same is under Extensions → Add custom extension.

Or add it to ~/.config/goose/config.yaml (%APPDATA%\Block\goose\config\config.yaml on Windows) yourself:

extensions:
  cedrus:
    name: cedrus
    type: stdio
    cmd: uvx
    args: [cedrus-mcp, --save-dir, ~/cedrus-maps]
    enabled: true
    timeout: 300

Goose can run local models through Ollama, so this is also the way to use CEDRUS with Ollama.

Other MCP clients

Any client that can start a local (stdio) MCP server works: the command is uvx, the arguments are cedrus-mcp and any options below.

Try it

Map the debate on whether cities should ban cars from their centres. Start with the main claim, then add the strongest arguments on both sides.

Now add an objection to the weakest pro argument.

Which arguments has nobody challenged yet? Add a reply to one of them.

Whenever you want to see the whole map, ask the model to show it.

Saving your maps

With --save-dir DIR, CEDRUS writes the map after every change to DIR/<id>.txt, the readable view, and DIR/<id>.json. Each time your app starts CEDRUS, it gets a new <id>, so earlier maps are kept. --save-file PATH writes to one fixed file instead, and a new session overwrites it.

When the model starts a new map, the old one is kept beside the live file as .1, then .2, and so on.

What the model can do

Tool

What it does

show

Print the whole map.

add_claim

Add a claim: the statement being debated, or a principle.

add_argument

Add an argument for or against something already in the map.

link

Relate two items already in the map, or change how they relate.

unlink

Remove one relation.

edit

Change a label or a text.

delete

Delete an item, optionally with the arguments that respond only to it.

new_map

Start over with an empty map, for another question.

An argument can support or attack what it responds to, or undercut another argument: grant its premises, but deny that they lead to its conclusion.

Options

Option

What it does

--save-dir DIR

Save each session's map in DIR. Also CEDRUS_SAVE_DIR.

--save-file PATH

Save the map to one file, PATH and PATH with .txt. Also CEDRUS_SAVE_FILE.

--max-chars N

Size limit for the map view, default 24000 (roughly 6k tokens). Larger maps are shown shortened.

--hints

Add a short hint to each tool result.

Running over HTTP, from a checkout, or under the MCP inspector is covered in docs/ADVANCED.md.

More

Licence

GNU Affero General Public License v3.0 or later. See LICENSE.

Available Tools

8 tools
add_argumentA

Add a new argument that responds to a claim or argument already in the map.

Args: target: The ID the argument responds to, e.g. "C1" or "A7". relation: How it responds to the target. One of: "supports" - the argument gives a reason for the target; "attacks" - the argument gives a reason against the target; "undercuts" - the argument says the target's reasons do not lead to its conclusion, without denying that those reasons are true. The target of an undercut must be an argument, not a claim. label: A short title of a few words, e.g. "Tax revenue". text: The argument written out in full.

Returns: The new ID (A1, A2, …) and the state of the map.

Inputs: text (required), label (required), target (required), relation (required). Returns: result

add_claimA

Add a claim: the statement being debated, or a general principle arguments rely on.

Add a claim first; arguments need something to respond to. A claim that responds to nothing is a root claim. To make a claim support or attack something, use link afterwards.

Args: label: A short title of a few words, e.g. "Legalisation of soft drugs". text: The claim written out as one statement.

Returns: The new ID (C1, C2, …) and the state of the map.

Inputs: text (required), label (required). Returns: result

deleteA

Delete a claim or an argument, together with its relations.

The ID is never given to a new item. If some arguments respond only to this one, the deletion is refused and they are named, because they would be left with nothing to respond to.

Args: id: The ID to delete, e.g. "A7". with_replies: Set to true to delete those arguments as well.

Inputs: id (required), with_replies. Returns: result

editA

Change the label and/or the text of a claim or an argument.

The ID and every relation stay as they are.

Args: id: The ID to change, e.g. "A7". label: A new short title. Leave empty to keep the current one. text: A new full text. Leave empty to keep the current one.

Inputs: id (required), text, label. Returns: result

new_mapA

Start a new, empty argument map, e.g. to map a different issue.

Only call this when you are done with the current map: it is cleared. IDs start again at C1 and A1, so IDs from the old map no longer apply.

Inputs: no named parameters. Returns: result

showA

Show the whole argument map: its claims, its arguments and all relations.

Call this whenever you need to see the current map. Its output replaces any earlier show output, so you only ever need the latest one.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: add_claim and add_argument create nodes, link and unlink manage relations, edit and delete mutate nodes, and show/new_map handle reading and resetting the map. There is no meaningful overlap that would cause an agent to select the wrong tool.

    Naming Consistency4/5

    All tool names are lowercase and imperative, and semantically grouped patterns like add_claim/add_argument and link/unlink are clear. The set is mostly consistent, though show, link, unlink, edit, and delete are verb-only while add_claim, add_argument, and new_map use a compound form, which is a minor deviation.

    Tool Count5/5

    Eight tools is well-scoped for an argument mapping server: creation, relation management, editing, deletion, viewing, and resetting are all covered without redundancy. Each tool earns its place in the workflow.

    Completeness5/5

    The tool set covers the full lifecycle of an argument map: adding claims and arguments, linking and unlinking them, editing labels/text, deleting with safety checks, displaying the map, and starting fresh. There are no obvious missing operations for the stated domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to engage in structured, turn-based debates with real-time message exchange and human moderation via a web UI.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides five rigorous reasoning protocols (debate, red team, audit_argument, threat_model, check_study) that run on the AI you're already using, requiring no extra API keys or costs.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Makes AI research agents accountable by giving every conclusion a traceable argument graph. Provides a persistent argument graph where claims require grounds and warrants for auditable, verifiable reasoning.
      3
      MIT