Skip to content
MCP server

JsonFabrica

Generate relational synthetic JSON test data from JsonFabrica templates in an AI session

Runs locallyStatus and history
Install
Pricing
Free trial
Platforms
CLI, API
Runs
Locally
Version
0.3.2
Listing updated
1 day ago

About JsonFabrica

JsonFabrica is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

The JsonFabrica server lets a coding agent create and use data templates without leaving the editor. Templates are JSON documents with angle-bracket placeholders such as a random name or sequence, and every response includes the seed so a run can be reproduced exactly.

In the README's example, an agent saves customer and order templates, then creates a batch with a relations map so each order references a generated customer id, and writes the result to a fixtures file. The platform advertises roughly 25 built-in functions, with batch and relational generation on the Growth plan and above.

The server runs over stdio only and talks solely to the JsonFabrica gateway you configure. Tool names are prefixed jsonfabrica_ and each description states which REST endpoint it calls. An API key is required, and the service is offered to businesses only.

Install

Run in a terminal

claude mcp add jsonfabrica-mcp-server --env JSONFABRICA_API_KEY='<JSONFABRICA_API_KEY>' -- npx -y @jsonfabrica/mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "jsonfabrica-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jsonfabrica/mcp-server"
      ],
      "env": {
        "JSONFABRICA_API_KEY": "<JSONFABRICA_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "jsonfabrica-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jsonfabrica/mcp-server"
      ],
      "env": {
        "JSONFABRICA_API_KEY": "<JSONFABRICA_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "jsonfabrica-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@jsonfabrica/mcp-server"
      ],
      "env": {
        "JSONFABRICA_API_KEY": "<JSONFABRICA_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "jsonfabrica-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jsonfabrica/mcp-server"
      ],
      "env": {
        "JSONFABRICA_API_KEY": "<JSONFABRICA_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "jsonfabrica-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jsonfabrica/mcp-server"
      ],
      "env": {
        "JSONFABRICA_API_KEY": "<JSONFABRICA_API_KEY>"
      }
    }
  }
}

Configuration

  • JSONFABRICA_API_KEYJsonFabrica API key. Create one at jsonfabrica.com -> Settings -> API Keys.Required
  • JSONFABRICA_API_URLBase URL of the JsonFabrica gateway. Override only when self-hosting the gateway.

Tools this server provides (10)

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

jsonfabrica_health
Connectivity check against the gateway.
jsonfabrica_whoami
Returns tenant id and role for the configured key.
jsonfabrica_create_template
Creates a template.
jsonfabrica_list_templates
Lists templates.
jsonfabrica_get_template
Fetches one template.
jsonfabrica_update_template
Updates a template.
jsonfabrica_delete_template
Deletes a template.
jsonfabrica_generate_from_template
Generates data from a saved template.
jsonfabrica_generate_adhoc
Generates from a template body without saving.
jsonfabrica_create_batch
Creates a batch with a relations map between templates.

What it does

Template management
Create, list, get, update and delete reusable JSON templates.
Ad-hoc generation
Generate from a template body without saving it.
Relational batches
Link related documents so they share consistent identifiers.
Reproducible seeds
Each run returns its seed for identical output later.
Self-hosting option
The gateway URL can point to a self-hosted gateway.
Auth check
A whoami tool reports the tenant and role for the configured key.

Good for

  • Seed a local database with linked customers and orders
  • Produce repeatable fixtures for regression tests
  • Create believable demo data without real customer records
  • Generate datasets to test a data pipeline

Pricing

Free trial, from $19 a month

Starter $19/mo with 30-day trial; Growth $79/mo; Business $249/mo; Enterprise custom

Prices change. Check jsonfabrica.com before you buy.

JsonFabrica FAQ

What does it cost?

Starter is $19/month with a 30-day free trial and 15 credits; Growth is $79/month and Business $249/month, with metered overage.

Is an API key needed?

Yes, JSONFABRICA_API_KEY; without it tool calls fail.

Can I get the same output twice?

Yes, reuse the seed returned in a response.

Who can use the service?

The pricing page says it is offered to businesses only.

Is JsonFabrica free?

JsonFabrica is a paid product with a free trial. Paid plans start at $19 a month.

How do I add JsonFabrica to Claude Code?

Run this command in your terminal: claude mcp add jsonfabrica-mcp-server --env JSONFABRICA_API_KEY='<JSONFABRICA_API_KEY>' -- npx -y @jsonfabrica/mcp-server

What are the best alternatives to JsonFabrica?

The closest alternatives to JsonFabrica are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to JsonFabrica

  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. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data