rowsmith-mcp
Provides a composite GitHub Action to generate fixture files in CI from a schema, with optional seed, rows, and format inputs, and reports the generator version used.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rowsmith-mcp Generate 20 fake orders as CSV with seed 42"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rowsmith-mcp
Seeded test data that does not change when you upgrade: pin the output version, and Rowsmith returns the same bytes for the same request and seed for as long as the service runs, checked by a golden test on every build. Fake test data from a schema, reproducible by seed. Free, no key. CSV, JSON or SQL, plus an MCP server for your agent.
curl -s https://testdata-api.re-jam620.workers.dev/v1/generate -H 'content-type: application/json' \
-d '{"rows":20,"seed":42,"format":"csv","columns":[{"name":"order_id","type":"sequence","prefix":"ord_","pad":4},{"name":"email","type":"email"},{"name":"total_usd","type":"decimal","min":1,"max":500}]}'First lines of the output (20 rows):
order_id,email,total_usd
ord_0001,amara.weber561@mail.test,230.25
ord_0002,maya.wang873@mail.test,17.04Works in: pytest, Playwright, dbt, Postgres
Comparing tools? Rowsmith, Faker or Mockaroo: which to use
An MCP server for Rowsmith: fake test data (CSV, JSON or SQL INSERTs) generated from a table schema. It is a thin client of the public Rowsmith API, free and rate-limited.
Quickstart (60 seconds)
Add Rowsmith to Claude Desktop, Cursor or another MCP client:
{"mcpServers":{"rowsmith":{"command":"npx","args":["-y","rowsmith-mcp"]}}}Ask: "Generate 20 orders with a fixed seed as CSV"
Or call the API directly:
curl -s https://testdata-api.re-jam620.workers.dev/v1/generate -H 'content-type: application/json' \ -d '{"rows":20,"seed":42,"format":"csv","columns":[{"name":"order_id","type":"sequence","prefix":"ord_","pad":4},{"name":"email","type":"email"},{"name":"total_usd","type":"decimal","min":1,"max":500}]}' curl -s 'https://testdata-api.re-jam620.workers.dev/v1/invalid?kind=email&count=5&seed=42' ID=$(curl -s https://testdata-api.re-jam620.workers.dev/v1/sandbox -H 'content-type: application/json' -d '{"seed":42}' | sed -E 's/.*"id":"([^"]+)".*/\1/') curl -s https://testdata-api.re-jam620.workers.dev/v1/sandbox/$ID/charges -H 'content-type: application/json' \ -d '{"amount":1999,"currency":"usd","card":"4242424242424242"}'Python's standard-library urllib is blocked by Cloudflare before it reaches the API (403, error code 1010) when it sends its default User-Agent. Set your own, e.g.
User-Agent: my-tests/1.0. In our tests on 2026-10-18, requests, httpx, aiohttp, Node and curl worked with their defaults.
Free, rate-limited, no account, no API key.
Paid plans with higher limits (Pro, Team): https://testdata-api.re-jam620.workers.dev/pricing. The free tier stays.
The same schema and seed give byte-identical output for the same generator version.
An invalid-values catalogue with the reason each value is invalid.
A payment sandbox that never moves money: a sandbox and everything in it is deleted 1 hour after it is created. It accepts only card numbers from Stripe's published testing list and stores no free text you send.
Listed on the official MCP Registry as io.github.meiorz/rowsmith.
Related MCP server: mock-mcp
What the data is
No real person's data is used as input, and no record is derived from a real person. Emails, phone numbers, card numbers, SSN-shaped and IBAN-shaped values come only from reserved or invalid ranges.
The same schema and seed give byte-identical output for the same generator version (sent as
x-generator-version), so fixtures are reproducible.Send schemas only. Never send real data.
Tools
Tool | What it does |
|
|
| the supported column types and their options |
| invalid-on-purpose TEST DATA values with the reason each is invalid: |
| create a payment sandbox (TEST DATA; deleted 1 hour after creation): optional |
|
|
At startup the server reads /pricing.json once (30 s timeout, cached for the process) and lists the
two sandbox tools only if the service advertises /v1/sandbox there. If that request fails, the sandbox tools stay
hidden and the server's instructions and list_column_types output say why; restart to check again. Tool-definition size, measured as characters of
the tools/list JSON (names, titles, descriptions and input schemas) divided by 4: 3 tools, about 1370 tokens
(5477 characters); 5 tools, about 1978 tokens (7910 characters). Measure with node scripts/tool-tokens.js.
For more than about 50 rows, pass output_path: the server writes the file and returns a summary (rows, bytes,
sha256, the header line) instead of putting the data in the model's context. Files can only be written inside the
write root: the server's working directory by default, or ROWSMITH_OUT_DIR when set (which moves or narrows it).
Paths with .. segments or outside the root are refused, and an existing file is replaced only with
overwrite: true.
Instead of columns, generate_test_data takes schema: a JSON Schema object (type object with properties), such
as a Pydantic (model_json_schema()) or Zod export, or an OpenAPI component as {"openapi": <document>, "component": "Order"}. The service maps it to columns and names the properties it could not map (arrays, patterns
and other unsupported forms) at the end of the result; nothing is guessed. Before sending, the server removes
example, examples, default, const and x-* keys from the schema, so their values do not leave your machine
and are not in the reproduce curl; the service ignores them too. For an OpenAPI component, only the named component and the schemas it
references are sent. The mapping is described at
https://testdata-api.re-jam620.workers.dev/openapi.json.
The tools form a chain, and each description says which comes next: generate_test_data first (with
list_column_types for a type's options), then invalid_values for values your code should reject, then
sandbox_create and sandbox_payments for a payment flow when they are listed.
Every generate_test_data result ends with a reproduce line: the exact curl, with the seed the service used and
the generator version pinned, that regenerates the same bytes. Chaos options are left out of it. A pinned version is served as long as the service runs; a retired version answers 409. A version's output is not changed in place: a golden test checks its bytes on every build. Above the reproduce line, a result that returns
the data carries Output sha256 <hex>, the sha256 of the data's bytes (the service's X-Output-SHA256); with
output_path the summary's sha256 line is that value. Pin it in a golden manifest to detect drift (format:
https://testdata-api.re-jam620.workers.dev/llms.txt).
chaos makes the service misbehave on purpose, to test error handling: fail (e.g. "429@0.2"; also 500, 503),
latency_ms (at most 3000), empty_result, attempt. Outcomes are fixed by seed and attempt.
The payment sandbox is a fake card processor: it moves no money and contacts no payment provider. It accepts only
card numbers from Stripe's published testing list (4242424242424242 succeeds; invalid_values with kind card
lists the declining numbers and their codes), and refuses any other card-like number in any field. Every object is
marked "livemode": false, "sandbox": true and TEST DATA.
Column types: uuid, sequence, integer, decimal, boolean, enum, date, datetime, first_name,
last_name, full_name, email, phone, test_card, ssn_invalid, iban_invalid, text.
Use
{
"mcpServers": {
"rowsmith": {
"command": "npx",
"args": ["-y", "rowsmith-mcp"],
"env": { "ROWSMITH_OUT_DIR": "/path/to/your/project/fixtures" }
}
}
}ROWSMITH_OUT_DIR is optional. Without it, files can only be written inside the directory the server runs in; set
it to choose a specific folder, such as your project's fixtures directory.
Example call:
{ "rows": 3, "seed": 42, "format": "csv",
"columns": [ { "name": "order_id", "type": "sequence", "prefix": "ord_", "pad": 4 },
{ "name": "email", "type": "email" },
{ "name": "total_usd", "type": "decimal", "min": 1, "max": 500 } ] }Related tables in one call: pass tables instead of columns (it calls POST /v1/dataset). A column
{"name": "customer_id", "type": "ref", "table": "customers", "column": "id"} takes its values from the primary key
generated for an earlier table in the same call, so the keys agree; refs resolve only inside the request and nothing
is stored. format is sql (CREATE TABLE and INSERTs) or json; at most 10 tables and 500 rows in total.
Written in the dialect common to PostgreSQL and SQLite 3.23 or later; CI executes it in SQLite with foreign keys enforced and in PostgreSQL 16. The result adds Rows sha256 per table, the same for the SQL and the JSON form of
one request, and the reproduce curl pins the dataset version too. Example call (the tool's arguments):
{"seed":42,"format":"sql","tables":[{"name":"customers","rows":3,"columns":[{"name":"id","type":"uuid"},{"name":"email","type":"email"}]},{"name":"orders","rows":5,"columns":[{"name":"id","type":"sequence"},{"name":"customer_id","type":"ref","table":"customers","column":"id"},{"name":"total","type":"decimal","min":5,"max":500}]}]}GitHub Action: fixtures in CI
fixtures/action.yml is a composite action that writes a fixture file with one call to /v1/generate. Inputs:
schema (path to a JSON file holding a columns array or a full request), out (the file to write), and optional
seed, rows and format (csv, json or sql), which replace the file's values when given. On any answer other
than 200 the step fails with the service's error and its next step. Nothing is cached, and no key is needed.
Use the tag meiorz/rowsmith-mcp/fixtures@v0.2.3 (or @main to try the latest).
name: fixtures
on: [push]
jobs:
fixtures:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: meiorz/rowsmith-mcp/fixtures@v0.2.3
with:
schema: test/fixtures/orders.schema.json
seed: "42"
rows: "200"
format: csv
out: test/fixtures/orders.csv
- run: npm testwith test/fixtures/orders.schema.json:
[{ "name": "order_id", "type": "sequence", "prefix": "ord_", "pad": 4 },
{ "name": "email", "type": "email" },
{ "name": "total_usd", "type": "decimal", "min": 1, "max": 500 }]The same schema and seed give byte-identical output for the same generator version, so the file is the same on
every run until the generator version changes. The step's generator-version output reports the version used.
Each run counts against the daily limit of the runner's address. GitHub-hosted runners share addresses, so the limit can be reached by other users' runs.
Optional extra-header (since v0.2.3; not in v0.2.2) adds one request header, as Name: value in printable ASCII. It
is empty by default, which sends no extra header.
.github/workflows/canary.yml is our hourly uptime check: it sends the fixed canary request (the golden request,
exactly these body bytes) with x-rowsmith-canary: 1 and fails unless the answer's sha256 is
50db558e2e8c54353ac38a3125deb91642895db302eec334afeec2406537f821. The service treats a call as its canary only with
that header and that exact body; any other call with the header is an ordinary call. The workflow also probes
Python's urllib with its default User-Agent (an ordinary call, without the canary header) and writes the result
(blocked or passing) to the job summary, without failing the job.
Limits and terms
Up to 500 rows and 50 columns per call, with daily limits per caller; over a limit the tool returns the service's
429 message with the retry time. Calls time out after 30 s. The server holds no keys and writes nothing unless you
pass output_path. Calls go to https://testdata-api.re-jam620.workers.dev (override with ROWSMITH_URL).
The MIT licence covers this wrapper's code only. Use of the Rowsmith service stays under its terms of use, which bind whoever runs the agent.
Terms of use: https://testdata-api.re-jam620.workers.dev/terms · Data notice: https://testdata-api.re-jam620.workers.dev/privacy · Published by meiorz · Contact: business@meiorz.tech
Privacy, data and deletion requests: business@meiorz.tech only, never in a public issue.
Available Tools
5 toolsgenerate_test_dataGenerate test dataA
Generate realistic fake test data (CSV, JSON or SQL INSERTs) from a table schema. Use it first, when you need rows for fixtures, seed data or tests (list_column_types gives each type's options). Or pass schema (JSON Schema, e.g. a Pydantic or Zod export, or an OpenAPI component) instead of columns; unmappable fields are named. Next: invalid_values for values your code should reject, then sandbox_create and sandbox_payments to test a payment flow. Free and rate-limited: up to 500 rows and 50 columns per call. No real person's data is used as input and no record is derived from a real person; emails, phones, card numbers, SSN-shaped and IBAN-shaped values come only from reserved or invalid ranges. The same schema and seed give byte-identical output for the same generator version (sent as x-generator-version). For more than about 50 rows, pass output_path to write a file instead of returning the data. The result gives the output's sha256 and ends with a curl that regenerates the same bytes. Send schemas only, never real data.
Inputs: rows, seed, chaos, table, +5 more.
invalid_valuesInvalid test valuesA
Deliberately invalid TEST DATA values (malformed emails, declining or Luhn-invalid card numbers, malformed addresses, Unicode edge cases, invalid IBAN and SSN shapes), each with the reason it is invalid. Same seed, same output for the same catalogue version. Use it after generate_test_data, to test that your validation rejects bad input. Next: sandbox_create, then sandbox_payments, to test a payment flow.
Inputs: kind, seed, chaos, count, +1 more.
list_column_typesList column typesA
List the supported column types and the options each accepts. Use it before generate_test_data when you need a type's options.
Inputs: no named parameters.
sandbox_createCreate payment sandboxA
Create a fake card-processor sandbox (TEST DATA, no money, no payment provider). Returns its sbx_ id. Deleted 1 hour after creation. Use it to start a payment test; next, call sandbox_payments with the returned id.
Inputs: seed.
sandbox_paymentsUse payment sandboxA
Charge, refund, list, get or reset in a payment sandbox. Accepts only card numbers from Stripe's published testing list; any other card-like number is refused. Declines return code and decline_code. Same seed and call order, same objects for the same sandbox version. Use it after sandbox_create, with that sandbox's id.
Inputs: action (required), sandbox_id (required), card, chaos, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool occupies a distinct stage of the workflow: introspection (list_column_types), valid data generation (generate_test_data), invalid-case generation (invalid_values), sandbox provisioning (sandbox_create), and payment operations (sandbox_payments). The only mild overlap is between generate_test_data and invalid_values, since both emit fabricated records, but the names and descriptions make the valid/invalid split clear. sandbox_payments bundles five actions (charge, refund, list, get, reset) into one tool, which is a slight boundary blur but not a cross-tool ambiguity.
All names use snake_case, but the ordering convention is mixed: most tools lead with a verb (list_column_types, generate_test_data), while the sandbox pair leads with a noun (sandbox_create, sandbox_payments) and invalid_values has no verb at all. It remains readable, but the pattern is not predictable enough to guess a tool name from its action.
Five tools is a tight, well-scoped surface for a test-data and payment-sandbox server, and each tool corresponds to a genuine step in the described workflow. Nothing feels padded or redundant.
The chain from schema inspection through data generation, invalid-value testing, sandbox creation, and payment simulation is essentially covered, including the documented 'next' hints. Minor gaps exist around sandbox lifecycle management (no explicit delete or list-sandboxes tool; cleanup is only implicit via the 1-hour expiry) and there is no standalone way to validate an arbitrary schema.
Related MCP Connectors
Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.
Format-true synthetic test data for 90 countries — IBANs, SWIFT/BIC, IDs, cards, all certified.
Generate realistic, FK-consistent synthetic test data for your databases from your AI assistant.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Related MCP Servers
- AlicenseAqualityDmaintenanceGenerate realistic relational test data with 156 field types, 22 locales, and foreign key integrity. One API call seeds your entire database.51MIT
- AlicenseAqualityBmaintenanceGenerates schema-compliant mock data from OpenAPI JSON Schema definitions using AI, enabling seamless testing without manual fixtures.656 npm10MIT
- AlicenseAqualityDmaintenanceGenerates realistic, referentially-coherent test data (SQL INSERTs, JSON, or CSV) from your database schema, resolving foreign keys and respecting constraints. Paste CREATE TABLE DDL or a JSON schema and get ready-to-run seed data with valid relationships.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query keyless mock REST data — products, users, posts, comments, recipes, quotes, and todos — with search, paging, and field selection for prototyping, demos, and test scaffolds. Offers a gateway-hosted or local stdio MCP endpoint plus plain-HTTP tool calls, requiring no API key or account for initial use.63 npmMIT