# Generate synthetic data with a coding agent Download and verify a public synthetic dataset, or connect Claude Code, Codex or Cursor to Ground to generate your own. [Read this quickstart on Ground](https://useground.dev/docs/agents) ## Try an example without an account [Open the Bike-share recipe to download and verify the CSV](https://useground.dev/examples/bike-share/recipe.md) ```text Open the Ground Bike-share recipe. Download the pinned CSV export, verify its SHA-256 and list its tables and row counts. ``` ## Connect Ground Codex and Cursor use a Ground API key from an eligible plan. Keep the key in your environment. Claude and ChatGPT can connect with Ground sign-in. ### Claude Code Run the command, then open /mcp in Claude Code and sign in to Ground. ```bash claude mcp add --transport http ground https://useground.dev/mcp ``` ### Codex Set GROUND_API_KEY in the environment that starts Codex. Run the command and start a new Codex session. ```bash codex mcp add ground --url https://useground.dev/mcp --bearer-token-env-var GROUND_API_KEY ``` ### Cursor Set GROUND_API_KEY in Cursor’s environment. Add this entry to your user mcp.json, keeping any servers you already have. ```json { "mcpServers": { "ground": { "url": "https://useground.dev/mcp", "headers": { "Authorization": "Bearer ${env:GROUND_API_KEY}" } } } } ``` [MCP setup for Claude on the web and ChatGPT](https://useground.dev/docs/mcp#connect) ## Generate your own data Ask Ground to list your saved datasets to verify the connection. Creating a dataset or preparing a training export uses your plan. Checking status and downloading saved tables are free. ```text Use Ground to generate monthly demand data for 30 shops and 200 products over two years. Keep the shops and products in separate tables, preserve their IDs in sales, and include zero-sales months. Give me the dataset link, then check the row counts and keys. ``` - [Machine learning guide](https://useground.dev/guides/synthetic-data-for-machine-learning/guide.md) - [LLM fine-tuning guide](https://useground.dev/guides/llm-fine-tuning-datasets/guide.md) - [MCP tool reference](https://useground.dev/docs/mcp#tools)