mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-26 15:55:39 +02:00
- Implement data generation server with support for insurance data - Add comprehensive test suite with 16 test cases - Support custom schemas and data relationships - Use faker, mimesis, numpy, and SDV for realistic data - Pass all type checks with pyright and lint checks with ruff Co-Authored-By: alexander@anthropic.com <alexander@anthropic.com>
981 B
981 B
MCP Data Generation Server
This server implements the Model Context Protocol (MCP) to provide notional data generation capabilities using Python libraries including Faker, Mimesis, NumPy, and SDV.
Features
- Generate synthetic data tables based on specified schemas and parameters
- Support for multiple data generation libraries (Faker, Mimesis, SDV)
- Configurable row counts and column specifications
- Export data in CSV format
Installation
pip install mcp-server-datagen
Usage
The server exposes MCP tools for generating notional data:
generate_tables: Generate multiple related tables based on a schemadefine_schema: Define table schemas with column specificationsexport_csv: Export generated data to CSV files
Development
- Create virtual environment and install dependencies:
uv venv
uv pip install -e ".[dev]"
- Run type checking:
uv run --frozen pyright
- Build package:
uv build