Sample Data MCP
Click on "Install 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., "@Sample Data MCPgenerate 10 test records with customer ID, name, status, and signup date"
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.
Sample Data MCP
A Model Context Protocol (MCP) server that generates fixed-length test data based on field specifications. This tool helps developers create realistic test datasets with customizable field types and formats.
Features
Generate fixed-length test data records
Support for multiple field types:
string: Random names using Faker libraryenum: Random selection from provided valuesinteger: Random integers within specified rangedate: Random dates with customizable formatfiller: Space padding fields
Configurable field length and constraints
MCP-compatible for integration with Claude Code
Related MCP server: mockhero
Installation
Prerequisites
Python 3.13 or higher
Install with UV
Clone or download this project
Navigate to the project directory
Install dependencies:
uv sync
Install into Claude Code
Add the MCP server to your Claude Code configuration. Edit your MCP settings file (typically
~/.config/claude-code/mcp_servers.jsonor similar):{ "mcpServers": { "sample-data-mcp": { "command": "uv", "args": ["run", "/path/to/sample-data-mcp/main.py"], "cwd": "/path/to/sample-data-mcp" } } }Restart Claude Code to load the new MCP server
Usage
Once installed, you can use the generate_test_data_tool through Claude Code to create test data:
Example Field Specification
fields = [
{
"name": "customer_id",
"type": "integer",
"length": 8,
"min": 1000,
"max": 9999
},
{
"name": "customer_name",
"type": "string",
"length": 25
},
{
"name": "status",
"type": "enum",
"length": 6,
"values": ["ACTIVE", "INACTIVE", "PENDING"]
},
{
"name": "signup_date",
"type": "date",
"length": 8,
"format": "%Y%m%d"
},
{
"name": "filler",
"type": "filler",
"length": 5
}
]Field Types
Type | Description | Required Fields | Optional Fields |
| Random names |
| - |
| Random selection from list |
| - |
| Random integer |
|
|
| Random date |
|
|
| Space padding |
| - |
Development
Testing Locally
uv run mcp dev main.pyDependencies
faker: For generating realistic fake datamcp: Model Context Protocol implementationpydantic: Data validation and settings management
License
This project is provided as-is for educational and development purposes.
Available Tools
1 toolgenerate_test_data_toolC
Generate fixed-length test data based on a field specification
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| num_records | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'fixed-length' as a constraint, but fails to describe critical behaviors: whether the tool is read-only or mutating, what the output looks like (though an output schema exists), error handling, or performance aspects like rate limits. This leaves significant gaps for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It is front-loaded with the core purpose and avoids redundancy. Every word earns its place, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 parameters with nested FieldSpec objects) and no annotations, the description is incomplete—it lacks behavioral and parameter details. However, the presence of an output schema mitigates the need to explain return values. This results in a baseline adequacy but with clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, meaning parameters are undocumented in the schema. The description adds minimal value by implying 'field specification' relates to the 'fields' parameter and 'fixed-length' hints at 'length' in FieldSpec, but it does not explain 'num_records', data types, or other schema details. It inadequately compensates for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Generate fixed-length test data based on a field specification.' It specifies the verb ('generate'), resource ('test data'), and key constraint ('fixed-length'). However, with no sibling tools mentioned, it cannot demonstrate differentiation from alternatives, preventing a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus other methods or tools. It lacks context about prerequisites, typical scenarios, or exclusions. Without sibling tools, it could at least hint at use cases like testing or data simulation, but it does not.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v0.1.0- First observed
generate_test_data_tool
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly distinct as it is the sole tool available.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'generate_test_data_tool' follows a clear verb_noun pattern, but consistency cannot be assessed across multiple tools.
A single tool is generally too few for a server's purpose, as it limits functionality and suggests an incomplete or overly narrow scope. For a data generation server, one tool is insufficient to cover typical needs like varied data types or configurations.
The server's domain appears to be test data generation, but with only one tool, the surface is severely incomplete. It lacks operations for different data formats, validation, customization, or management, which are essential for comprehensive data handling.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.
Generate realistic, FK-consistent synthetic test data for your databases from your AI assistant.
Generate synthetic random user data for testing, demos, and development without using real persona.
Validate and convert JSONL fine-tuning data across 11 AI providers. 13 tools.
Related MCP Servers
- AlicenseBqualityDmaintenanceGenerates realistic mock data using Faker.js for database seeding, API testing, and development environments. Supports person/company data, custom patterns, multi-locale generation, and structured datasets with referential integrity.4557MIT
- AlicenseAqualityAmaintenanceGenerate realistic relational test data with 156 field types, 22 locales, and foreign key integrity. One API call seeds your entire database.51MIT
- AlicenseAqualityCmaintenanceGenerates schema-compliant mock data from OpenAPI JSON Schema definitions using AI, enabling seamless testing without manual fixtures.6299MIT
- FlicenseNot gradedqualityCmaintenanceGenerates realistic, context-aware synthetic data for AI agents to populate databases, mock APIs, and create test scenarios without exposing real PII.163-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cdelashmutt-pivotal/sample-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server