Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

MockForge AI Relational Mock Database & Fixture Generator

@ritualdev-labRun by its publisher: served from their own domain, namespace checked by the registry.MCP server ยท External

Zero-cost relational mock DB and synthetic fixture generator with Kahn DAG integrity for AI agents

Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted โ€” your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@ritualdev-lab/mockforgev0.1.1

Run

npx -y @ritualdev-lab/mockforge

MCP client config

{
  "mcpServers": {
    "mockforge-ai-relational-mock-database-fixture-generator": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/mockforge"
      ]
    }
  }
}
README5 min read

๐ŸŽฒ MockForge AI

Intelligent In-Browser Relational Mock DB & Seed Data Synthesizer

GitHub Release CLI Tool Python SDK NPM Package License Zero VPS Cost

MockForge AI is a blazing-fast, zero-cloud-overhead relational mock database and seed synthesizer. Powered by Kahn's Topological DAG Sorter, an in-browser WebAssembly SQLite engine, and Gemini 1.5 Flash, MockForge generates millions of synthetic rows with 100% foreign-key integrity at 88,000+ rows/second โ€” completely in-memory with $0 cloud compute overhead ($0 VPS).

Download Release โ€ข CLI Quickstart โ€ข Python SDK โ€ข Architecture โ€ข Enterprise Features โ€ข Examples


โšก The Problem: Relational Seed Data Hell

Developers and QA engineers waste hundreds of hours manually authoring seed fixtures:

  • Foreign Key Violations: Inserting orders before users crashes integration tests with integrity constraint failures.
  • Rotting Test Fixtures: Schema migrations (Prisma, Drizzle, Alembic) invalidate static JSON mocks, forcing manual updates.
  • PII & Compliance Risks: Copying sanitized production databases into staging frequently violates HIPAA, GDPR, and SOC 2.
  • Cloud Database Costs: Provisioning staging database instances for every CI/CD runner inflates infrastructure bills.

MockForge solves this by parsing SQL DDL or Prisma schemas, building a dependency DAG, and synthesizing millions of coherent relational rows directly inside your CI/CD runner or browser.


๐Ÿ›๏ธ Architecture

MockForge runs entirely client-side or in ephemeral serverless edge runtimes with zero external database dependencies:

mermaid
flowchart TD
    subgraph Inputs["Schema Input Layer"]
        DDL["SQL DDL (Postgres / MySQL / SQLite)"]
        Prisma["Prisma / Drizzle Schema"]
        OpenAPI["OpenAPI / Swagger Spec"]
    end

    subgraph CoreEngine["MockForge In-Memory Engine (< 88,000 rows/sec)"]
        Parser["AST Schema Parser & Foreign Key Graph Builder"]
        DAGSorter["Kahn's Topological DAG Sorter\n(Resolves Insertion Hierarchy & Cycles)"]
        Generator["Deterministic Synthetic Generator\n(Context-Aware Faker + Gemini 1.5 Flash)"]
        WASMDB["In-Memory WebAssembly SQLite Database\n(Real-Time FK & Unique Constraint Validator)"]
    end

    subgraph Exporters["Multi-Format Exporter Layer"]
        SQLExp["SQL INSERT Scripts (.sql)"]
        JSONExp["Nested Relational JSON"]
        CSVExp["Relational CSV Bundles"]
        PyExp["Pytest Fixtures (Python)"]
        TSExp["TypeScript / Prisma Seeders"]
    end

    subgraph ZeroCostEdge["Serverless Edge (api.mockforge.io)"]
        CFWorkers["Cloudflare Workers (Headless CI/CD Seed API)"]
    end

    Inputs --> Parser
    Parser --> DAGSorter
    DAGSorter --> Generator
    Generator --> WASMDB
    WASMDB --> SQLExp & JSONExp & CSVExp & PyExp & TSExp
    CFWorkers -.->|Headless DDL-to-Seed API| CoreEngine

๐Ÿš€ Quickstart

1. CLI Quickstart

Download the pre-compiled binary from Latest Releases or install via npm:

bash
npm install -g @ritualdev-lab/mockforge

Generate 1,000 relational records with foreign key integrity from any SQL schema:

bash
mockforge generate ./examples/schema.sql --count 1000 --format sql -o seed.sql

Supported output formats: --format sql, --format json, --format csv, --format prisma.


2. Python SDK Quickstart (pip install mockforge)

Ideal for Pytest fixtures, Django, SQLAlchemy, and automated testing pipelines:

python
from mockforge import RelationalSynthesizer

# Define your schema
schema = """
CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, email TEXT);
CREATE TABLE orders (id INTEGER PRIMARY KEY, user_id INTEGER REFERENCES users(id), amount REAL);
"""

# Synthesize relational dataset
synthesizer = RelationalSynthesizer()
seed_sql = synthesizer.generate_from_ddl(
    schema,
    row_counts={"users": 50, "orders": 200}
)

print(seed_sql[:200])
# All foreign keys are guaranteed valid and resolved in topological order!

See examples/pytest_fixtures.py for a complete pytest integration guide.


3. Node.js / TypeScript SDK

bash
npm install @ritualdev-lab/mockforge
typescript
import { MockForgeEngine } from '@ritualdev-lab/mockforge';

const engine = new MockForgeEngine();
const result = await engine.synthesizeFromSql(`
  CREATE TABLE customers (id INT PRIMARY KEY, name VARCHAR(100));
  CREATE TABLE invoices (id INT PRIMARY KEY, customer_id INT REFERENCES customers(id), total DECIMAL);
`, { count: 500 });

console.log(`Generated ${result.totalRows} rows across ${result.tables.length} tables in ${result.elapsedMs}ms`);

๐Ÿข Enterprise Features ($50Kโ€“$250K ACV Capabilities)

  • ๐Ÿ›ก๏ธ Production Database Masking & Anonymization (HIPAA / GDPR / SOC 2): Pipe sanitized snapshots of live Postgres/MySQL production databases through MockForge to replace real customer names, SSNs, and credit cards with synthetically coherent mock data while preserving 100% of foreign-key relationships.
  • ๐ŸŒ Ephemeral Mock API Servers (OpenAPI / Swagger / GraphQL): Spin up instant in-memory HTTP mock servers directly inside CI/CD test runners (GitHub Actions, GitLab CI) serving dynamic REST endpoints from schema definitions with zero cloud database spin-up latency.
  • ๐Ÿ”„ Bidirectional ORM Migration Synchronizers: Direct integration with Prisma, Drizzle, SQLAlchemy, and Django ORM migrations to regenerate deterministic test fixtures on every git commit.

๐Ÿ“Š Performance Benchmarks

  • Throughput: 88,000+ rows/second generated and validated in-memory.
  • Foreign Key Accuracy: 100% validity across 10,000+ relational test permutations.
  • Infrastructure Cost: $0.00 / month ($0 VPS, $0 cloud database costs).
  • Test Verification: 58 / 58 passing tests across Node.js, WebAssembly, and Python 3.8+.


๐Ÿข Enterprise Commercial Edition & MockForge-Core

FeatureCommunity Engine ($0 Free)MockForge-Core Pro ($49/mo)
Synthetic Relational Generationโœ… Basic Types (88k rows/sec)โœ… Unlimited Enterprise Data Generation
In-Memory SQL/PGlite Mocksโœ… SQLite, PGliteโœ… SQLite, Postgres, MySQL, CockroachDB, MariaDB
HIPAA Synthetic Medical DataโŒ Noneโœ… Complete HL7, FHIR, Patient Medical History Models
PCI-DSS Synthetic Financial DataโŒ Noneโœ… Visa, Mastercard, IBAN, Swift, Ledger Mock Engines
Production Database MaskingโŒ Manualโœ… AST-Level PII Scrambling & Anonymization Pipeline
Automated CI/CD SeederโŒ Local Onlyโœ… GitHub Actions & GitLab CI Auto-Seeding Runner
Collaborator Git AccessโŒ Public Repoโœ… Instant GitHub Invite to RitualDev-Lab/MockForge-Core

Subscribe to MockForge-Core

โšก Subscribe to MockForge-Core ($49/mo) & Unlock Private Repo Access Instantly

๐Ÿ”’ Automated GitHub Fulfillment: Enter your GitHub username during checkout. Our webhook immediately dispatches a collaborator invite to MockForge-Core.


๐Ÿ’– Community Support & Alternative Sponsorship

MockForge is engineered by RitualDev Lab. Your sponsorship directly finances our client-side WebAssembly SQLite/PGlite test runners, synthetic data generation algorithms, and multi-dialect schema fixture tooling.

Interactive Donation Portal GitHub Sponsors


๐ŸŽ Interactive Donation Form (USD & INR UPI) ย โ€ขย  โค๏ธ GitHub Sponsors

๐Ÿ”’ Powered by Dodo Payments (Merchant of Record) with instant tax invoice and global payment methods (Cards, UPI, Apple Pay).

๐Ÿค Community & Support

  • Feature Requests & Bug Reports: Open an issue in our Public Issue Tracker.
  • Enterprise Licensing: Contact enterprise@ritualdev.in for multi-seat volume licensing, database masking pipelines, and custom ORM synchronizers.
  • Core Development: Developed and maintained by RitualDev Studio.

Copyright ยฉ 2026 RitualDev Studio. Proprietary Commercial Software. All Rights Reserved.

๐Ÿ›ก๏ธ Community & Governance

Similar modules

Browse Software testing