Skip to main content
Glama

clutter-mcp — synthetic data & synthetic document generator (MCP server)

A Model Context Protocol stdio server that lets an AI agent drive the whole Clutter pipeline — invent a believable synthetic company, mass-produce the documents, spreadsheets, emails, images and datasets it would really have, poll for completion, and fetch download URLs — through Clutter's public REST API, authenticated with an API key.

Use it to fill dev/test/demo systems (SharePoint, CRMs, file shares) with realistic content — synthetic documents and synthetic data that stand in for the real thing. Generate test data, demo data and training data, or test documents and training documents, on demand — or give an AI agent believable data to reason over, all without touching real or sensitive data.

It's a thin HTTPS client with no dependency on the rest of the Clutter codebase.

Quick start

  1. Create a free account at https://clutter.run, open Settings, and mint an API key (clt_live_…, shown once).

  2. Add the server to your MCP client config (Claude Code, Claude Desktop, etc.):

{
  "mcpServers": {
    "clutter": {
      "command": "npx",
      "args": ["-y", "clutter-mcp"],
      "env": {
        "CLUTTER_API_KEY": "clt_live_…"
      }
    }
  }
}

That's it — CLUTTER_API_URL defaults to https://clutter.run/api, so only the key is required.

Related MCP server: OpenRouter Agents MCP Server

Configuration

Env var

Required

Default

Notes

CLUTTER_API_KEY

yes

—

clt_live_… key (web app → Settings)

CLUTTER_API_URL

no

https://clutter.run/api

Override only to target another deployment

Run directly

CLUTTER_API_KEY=clt_live_… npx -y clutter-mcp

Typical agent flow

  1. build_org — describe a company in a sentence → returns an orgId (omit projectId to auto-create a project). Free.

  2. wait_for_org — block until the company build is ready.

  3. create_run — generate content against the company:

    • doc_generator → a batch of documents (docx/pdf/xlsx/eml/jpg), folder-organised.

    • data_generator → one tabular dataset (xlsx/csv/json) with an exact row count.

    • doc_metadata_gen → one metadata record per document of a prior doc run.

  4. wait_for_run — block until the run is complete.

  5. list_run_documents + get_document_url, or build_zip + get_zip_url for the whole run as a single ZIP (folder tree preserved — ready to drop into SharePoint or a file share).

Tools

  • Identity / usage: clutter_whoami, get_usage

  • Projects: list_projects, create_project, delete_project

  • Companies: list_orgs, build_org, get_org, wait_for_org, query_org, delete_org

  • Runs: list_runs, create_run, get_run, wait_for_run, list_run_documents, get_document_url, build_zip, get_zip_url, delete_run

build_org and create_run are asynchronous (return an id immediately); use the wait_for_* tools to block until a terminal state, or poll get_org / get_run. Each tool maps to a REST endpoint and returns the raw JSON response.

Billing

Company builds, metadata and "ask the company" are free. New accounts get 10 free documents + 100 free data rows, then pay-as-you-go (all prices USD: $0.10/document, $0.06/10 data rows). A 402 from create_run means insufficient credit — top up at https://clutter.run/billing.

Loading content into SharePoint

Clutter hands you download URLs; your agent does the upload (via Microsoft Graph). Beyond a plain "drop files into a library", the generated metadata can drive automation — apply sensitivity labels, set permissions, assign retention, route flat files to the right site/library by metadata, or even generate the information architecture itself. Worked patterns with Graph calls: https://clutter.run/sharepoint-cookbook.md

Reference

Full REST API: https://clutter.run/api/docs (Swagger UI) · machine-readable guide: https://clutter.run/llms.txt

License

MIT

Available Tools

19 tools
build_orgBuild organisation (async)A

Start building a synthetic organisation from a prompt. Returns 202 with an orgId. The build runs in the background (minutes) — then poll get_org, or call wait_for_org to block until ready. Omit projectId to auto-create a project (named after the generated company) — the simplest path.

Inputs: prompt (required), projectId, ref_org_id, web_search, +3 more.

build_zipBuild run ZIP (async)A

Start building a single ZIP of all of a run's documents. Poll get_zip_url after.

Inputs: runId (required).

clutter_whoamiWho am IA

Return the authenticated Clutter user for the configured API key.

Inputs: no named parameters.

create_projectCreate projectB

Create a new Clutter project. Returns the project (with its id).

Inputs: name (required).

create_runCreate generation run (async)A

Launch a generation run. Returns 202 with a runId — poll get_run or call wait_for_run. kind + params: • doc_generator → { prompt, doc_number (≤300), file_types:[docx|pdf|xlsx|eml|jpg], structure:'flat'|'nested', target_system?, allow_underscores? } • data_generator → { prompt, row_count (≤2000), data_format:'xlsx'|'csv'|'json', data_fields?, target_system? } • doc_metadata_gen → { sourceRunId (a completed doc_generator run), data_format, data_fields?, target_system? }

Inputs: kind (required), orgId (required), params.

delete_orgDelete organisationA

Delete an organisation and ALL its runs/artefacts (S3 + DB). Irreversible.

Inputs: orgId (required).

delete_runDelete runA

Delete a run and its artefacts (S3 + DB). Leaves the parent org intact. Irreversible.

Inputs: runId (required).

get_document_urlGet document download URLC

Get a short-lived presigned download URL for a single generated document.

Inputs: documentId (required).

get_orgGet organisationB

Get an organisation including its full org.json structure. Check org.status.

Inputs: orgId (required).

get_runGet run statusA

Get a run's status + progress counts. Poll this until status is terminal.

Inputs: runId (required).

get_usageGet API usageC

Your Clutter API usage (request counts by route) over a rolling window + the daily quota.

Inputs: windowHours.

get_zip_urlGet run ZIP URLB

Get a presigned download URL for a run's ZIP (409 until the build is ready).

Inputs: runId (required).

list_orgsList organisationsB

List the synthetic organisations in a project.

Inputs: projectId (required).

list_projectsList projectsA

List all of your Clutter projects (top-level tenant containers).

Inputs: no named parameters.

list_run_documentsList run documentsA

List the documents generated by a run (title, format, folderPath, status).

Inputs: runId (required).

list_runsList runsC

List the generation runs under an organisation.

Inputs: orgId (required).

query_orgQuery organisationC

Ask a grounded natural-language question about an organisation (synchronous answer).

Inputs: orgId (required), message (required), locale_language.

wait_for_orgWait for organisation buildB

Poll an org until its build reaches a terminal state (ready/failed) or the timeout. Returns the final org summary.

Inputs: orgId (required), timeoutSeconds.

wait_for_runWait for runA

Poll a run until it reaches a terminal state (complete/partial/failed) or the timeout. Returns the final run status.

Inputs: runId (required), timeoutSeconds.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 19 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: building orgs, building zips, user info, project/run CRUD, document retrieval, polling, and querying. No two tools share overlapping functionality.

    Naming Consistency4/5

    Most tools follow verb_noun pattern (e.g., build_org, create_project, list_runs). The exception is clutter_whoami, which breaks the pattern by using a noun_verb style and including the service name.

    Tool Count5/5

    19 tools cover all necessary operations for the domain: org and run lifecycle, document management, project listing, user info, usage, and polling. The scope is well-balanced without being overwhelming.

    Completeness4/5

    The surface covers core CRUD for orgs, runs, documents, and projects. A minor gap is the lack of a get_project tool (only list_projects exists), but agents can work around it.

    Related MCP Connectors

    Related MCP Servers