# Misata: Synthetic Data Library

> Declare data facts, generate and verify synthetic data.

- **URL**: https://followmcp.com/en/servers/misata
- **Category**: Database
- **Origin**: Community
- **Stars**: 80
- **FMRS Score**: 52/100 (Grade D)
- **Source**: https://github.com/rasinmuhammed/misata
- **Transports**: stdio (local process)
- **Runtimes**: Python
- **Auth**: No credential needed

## Overview
Misata is a declarative synthetic data generator for Python. It generates multi-table data from YAML, SQL DDL, or a sentence, checks declared constraints with DuckDB, and can produce a verifiable certificate.

## Best for
- Developers and data teams who need data that does not depend on real records and whose constraints can be declared and verified.
- Testing, demo, and evaluation workflows that need cross-table relationships and checkable data assertions.

## Not for
- Workflows that require automatic derivation of expected results for arbitrary SQL.
- Workflows that require an anonymous copy of real data distributions; the README says mimic fits real rows and is not anonymous.
- Workflows needing fluent free-form prose or step-by-step declarations for history features the README says are not yet supported.

## Required permissions
- The manifest specifies stdio transport; permissions needed for particular operations are not documented.
- seed_database writes data to a database; connection permissions and write scope depend on configuration and are not detailed in the source.

## Risks
- Generation refuses declarations that cannot all hold; review the YAML, constraints, and arithmetic relationships.
- Generated data guarantees only supported facts that are declared; README limitations include arbitrary SQL, free-form text, and some history or distribution features.
- mimic fits real data and is not anonymous; do not treat its output as anonymized data.

## Client config (JSON)
```json
{
  "command": "uvx",
  "args": [
    "--from",
    "misata[mcp]",
    "misata-mcp"
  ]
}
```

## Tools (17)
- `generate_from_schema`: Generate data from a schema.
- `generate_dataset`: Generate a synthetic dataset.
- `explain_schema`: Explain a schema and its declarations.
- `validate_yaml`: Validate a YAML configuration.
- `inspect_schema`: Inspect a data schema.
- `preview_story`: Preview the data plan represented by a natural-language description.
- `list_domains`: List supported story domains.
- `validate_domain`: Validate a story domain.
- `seed_database`: Seed a database with generated data.
- `create_sandbox`: Create a database sandbox.
- `query_sandbox`: Query a database sandbox.
- `solve_outcome`: Drive a data pipeline toward a declared outcome within a stated tolerance.
- `attest_dataset`: Create a verification certificate for a dataset.
- `audit_dataset`: Audit a dataset.
- `list_rules`: List available rules.
- `check_rules`: Check data against rules.
- `check_realism`: Check realism metrics for generated data.
