# Universal Paper

> Universal Paper is an open-source MCP server for legal and government. Open agreement language and MCP server for validating GPO, supplier and member contracts. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Website:** https://universalpaper.org/developers/
- **Repository:** https://github.com/uppercentile/universal-paper
- **MCP Registry name:** io.github.Uppercentile/universal-paper
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-27

## About

Universal Paper represents agreements between group purchasing organizations, suppliers and members as plain JSON. Each agreement is a short chain of signed events, and any copy can be checked offline by recomputing hashes and Ed25519 signatures. The project ships a Python reference interpreter and command-line tool that validate bundles, derive status, tiers, contract prices and obligations on a date, and render agreement text from its hash.

For agents, an MCP server exposes the same engine as read-only tools. It can validate bundles, dry-run signed events, simulate hypothetical events under an agent's Mandate limits, and check whether a member is an active participant. It is available as a hosted Streamable HTTP endpoint without sign-in, or locally through uvx. The server holds no keys, signs nothing and writes nothing.

The project is aimed at developers and contracting teams who want their CLM, ERP or spreadsheet systems to reach the same verdicts on the same agreement. The specification is at draft UP/0.1 and has not yet been reviewed by counsel.

## Features

- **Offline agreement validation:** Checks every signature, hash and rule in a bundle without contacting any server.
- **Derived status and prices:** Computes agreement status, tiers, contract prices and obligations at any chosen date.
- **Hypothetical event simulation:** Runs unsigned what-if events forward while still enforcing Mandate limits.
- **Read-only MCP tools:** Exposes validation, simulation and termination checks to AI agents over MCP.
- **Contract text rendering:** Prints human-readable agreement text fixed by its hash, optionally with sealed values.
- **Sealed confidential values:** Hides private prices and amounts behind salted hashes while keeping verification possible.

## Good for

- Check that a supplier's copy of an agreement matches what was signed
- Let an AI agent test whether a proposed price change falls within its Mandate
- Compute which members are active and which contract prices apply to them on a given date
- Port the hashing and verdict logic into an existing CLM or ERP system
- Generate readable contract text from structured agreement data

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http universal-paper https://mcp.universalpaper.org/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "type": "http",
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

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

```text
https://mcp.universalpaper.org/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "type": "http",
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.universalpaper.org/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add universal-paper --url https://mcp.universalpaper.org/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.universal-paper]
url = "https://mcp.universalpaper.org/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "httpUrl": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http universal-paper https://mcp.universalpaper.org/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "serverUrl": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "type": "streamableHttp",
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "universal-paper": {
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.universalpaper.org/mcp
```

Enter a Name (for example "Universal Paper"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "universal-paper": {
      "type": "http",
      "url": "https://mcp.universalpaper.org/mcp"
    }
  }
}
```

## Tools

The server marks all 13 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `validate_bundle` (says read-only): Check a whole bundle against the axioms: signatures, hashes, chain linkage, Mandate bounds and Term typing, for every agreement and every recorded event. Use it first on any bundle you receive, before trusting what other tools derive from it. Use check_event instead to test one new signed event, simulate_events for unsigned hypothetical events, and derive_state to read what the agreements say. Ret
- `derive_state` (says read-only): Read what every agreement in a bundle means at one time: each chain's status (e.g. proposed, active, expired, terminated), term window, the tier each member attested, contract prices per item, and obligations with due dates and status (e.g. overdue). Use it to answer "what is in force on date X, and what is owed". Rejected events are skipped, not reported, so run validate_bundle first on a bundle 
- `check_event` (says read-only): Dry-run one signed Event, exactly as it would be appended, against the current state of the chain it names, and return whether every evaluator would accept it, with each check (rule, passed, reason) and the resulting state hash. Nothing is written. Use it when you hold a real, signed event (from a party or your own signer) and want to know before publishing whether it is valid. Use simulate_events
- `simulate_events` (says read-only): Apply a list of hypothetical, unsigned events in order to a copy of the bundle and return each step (accepted, reason, checks) plus the derived state afterwards. Signatures are not required, but Mandate limits, unanimity and every other rule still apply, so an agent can test a multi-step plan (propose, accept, attest) within its authority before anyone signs. Use check_event instead for one alread
- `simulate_amendment` (says read-only): Try one change to an agreement in force: set parameter `param` of clause `clause` to `value`, proposed by an agent under its Mandate, and return whether every evaluator would accept it and, if not, which Mandate bound or rule it breaks. Use it instead of simulate_events when the question is one parameter change, because it builds the proposal for you. Clause and parameter names come from render_te
- `simulate_price_conformity` (says read-only): Check whether given prices conform to a member's contract prices: for one participation chain at time `at`, compare each price with the contract price in the tier in effect, and return conforms true/false with the reason, and per item the contract price, the difference and the price in every tier. The tier in effect is the one the member attested and the supplier acknowledged (UP:Tier-Selection); 
- `simulate_termination` (says read-only): Ask what happens if a party gives notice of termination on a chain at time `at`: allowed true/false with the reason, which clause permits it (UP:Termination-Convenience or UP:Termination-Cause, with any cure period), the effective date, duties and fees (such as admin fees) still owed for periods up to then, and participations that stop with it. Use it instead of simulate_events, which would only s
- `simulate_eligibility` (says read-only): Ask whether a member is eligible at time `at`: a real, active participant under an aggregator agreement (UP:Participation executed by every party, within its term, parent agreement in force), so that agreement's terms and contract prices apply to it. Returns eligible true/false with the reason for each participation found. Use it instead of derive_state when the question is about one member, and b
- `render_text` (says read-only): Render agreements as the human-readable text fixed by their hash: parties and roles, every clause in words, and the agreement hash. Use it to read or quote what an agreement says, or to find clause and parameter names for simulate_amendment. It does not check anything: use validate_bundle to check validity, derive_state for status, tiers, prices and obligations at a time, and hash_object to comput
- `hash_object` (says read-only): Compute the content hash of any JSON value: RFC 8785 canonical JSON (JCS), then SHA-256, with signatures (`sigs`) stripped, returned as "sha256:<hex>". Use it to get the hash that identifies an agreement, Term, Mandate or event, e.g. to fill an event's `prev`, `chain`, `target` or `supersedes`, or to check that two parties hold the same text. It does not validate: use validate_bundle or check_even
- `list_terms` (says read-only): List the standard Universal Paper Term library: each Term's id (e.g. "UP:Admin-Fee"), title and parameter names. Use it to discover which clauses an agreement can contain; then call explain_term for one Term's full definition. Needs no bundle. To see the Terms a given agreement actually uses, call render_text on its bundle.
- `explain_term` (says read-only): Explain one standard Term: its parameters with types, the claims it allows, its rendering template, provenance, content hash and spec page URL. Use it after list_terms, or when a clause in render_text or a Mandate scope names a Term you need to understand before proposing values. Needs no bundle.
- `get_example` (says read-only): Load a worked example bundle (hypothetical parties and values, CC0) to try the other tools on. Use it when you have no bundle yet (use list_terms instead to browse Terms without one). Instead of passing the returned object on, you can pass the string "example:<name>" as `bundle` to any tool. conventional: a signed GPO agreement; generative: agent actions, two rejected by their Mandate; confidentia

## FAQ

### Is this a blockchain?

No. There is no ledger, token, mining or global network. Each agreement has its own chain of signed events held by its parties.

### What is the license?

The specification and Term library are CC BY 4.0, the reference code and schemas are Apache-2.0, and the example agreements are CC0. No account, fee or license key is required.

### How do I run the MCP server?

Use the hosted endpoint at https://mcp.universalpaper.org/mcp, or run uvx universal-paper-mcp locally.

### Does the hosted server store my bundles?

The hosted server is stateless, with no sessions, storage, access logs or telemetry, and it never reads file paths. It only counts calls per tool.

### Is Universal Paper free?

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

### How do I add Universal Paper to Claude Code?

Run this command in your terminal: claude mcp add --transport http universal-paper https://mcp.universalpaper.org/mcp

### What are the best alternatives to Universal Paper?

The closest alternatives to Universal Paper are termsbird.com, Contract Ops MCP, JSON Contracts, PubLedge and Open Agreements.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [termsbird.com](https://ai-powered.com/mcp/termsbird-com): termsbird.com is a freemium MCP server for legal and government.
- [Contract Ops MCP](https://ai-powered.com/mcp/contract-ops-mcp): Contract Ops MCP is an open-source MCP server for legal and government.
- [JSON Contracts](https://ai-powered.com/mcp/json-contracts): JSON Contracts is an open-source MCP server for legal and government.
- [PubLedge](https://ai-powered.com/mcp/publedge): PubLedge is an open-source MCP server for legal and government.
- [Open Agreements](https://ai-powered.com/mcp/open-agreements): Open Agreements is an open-source MCP server for files and documents.
- [Common Paper](https://ai-powered.com/mcp/common-paper): Common Paper is an MCP server for legal and government.
- [MCP Legal Doc Analyzer](https://ai-powered.com/mcp/mcp-legal-doc-analyzer): MCP Legal Doc Analyzer is an MCP server for legal and government.
- [Agent-Mediate](https://ai-powered.com/mcp/agent-mediate): Agent-Mediate is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/universal-paper
