# JsonFabrica

> JsonFabrica is an MCP server for developer tools. Generate relational synthetic JSON test data from JsonFabrica templates in an AI session. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free trial
- **Starting price:** $19 a month
- **Platforms:** CLI, API
- **Website:** https://jsonfabrica.com
- **Repository:** https://github.com/ms-methos/jsonfabrica-mcp-server
- **MCP Registry name:** io.github.ms-methos/jsonfabrica-mcp-server
- **Categories:** developer tools, analytics and data
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

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

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/jsonfabrica
