safakedata-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
safakedata-mcp
An MCP server that gives Claude, Cursor and other AI tools realistic South African test data: people, SA ID numbers, bank accounts, addresses and companies.
It is a small client for the SA Fake Data API. Ask your assistant for "ten test customers" or "a few valid SA ID numbers" while you write seed scripts, fixtures or form tests, and it calls the API for you.
All data is generated. ID numbers pass the Luhn check and registration and VAT numbers use the real formats, but none of it belongs to a real person, account or business.
Get a free API key
Sign up at safakedata.dev/register and verify your email.
Create a key on the API keys page. It starts with
safk_.
The free plan includes 500 requests a month. Each tool call is one request, whatever the count.
Related MCP server: naija-faker-mcp
Install
The server runs over stdio with npx and reads the key from SAFAKEDATA_API_KEY. Node.js 22 or newer.
Claude Code
claude mcp add safakedata -e SAFAKEDATA_API_KEY=safk_your_key -- npx -y safakedata-mcpClaude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit Config) and restart Claude Desktop:
{
"mcpServers": {
"safakedata": {
"command": "npx",
"args": ["-y", "safakedata-mcp"],
"env": { "SAFAKEDATA_API_KEY": "safk_your_key" }
}
}
}Cursor
Add this to ~/.cursor/mcp.json, or .cursor/mcp.json in a project:
{
"mcpServers": {
"safakedata": {
"command": "npx",
"args": ["-y", "safakedata-mcp"],
"env": { "SAFAKEDATA_API_KEY": "safk_your_key" }
}
}
}Any other MCP client that can launch a stdio server works the same way.
Tools
Every tool takes the same two optional inputs:
Input | Type | Notes |
| integer | 1 to 100 records. Default 1. |
| integer | 0 to 2147483647. The same seed always returns the same data. |
Tool | Returns | Example prompt |
| Name, email, phone, gender, date of birth, SA ID number and home address | "Make 10 test users and write them to |
| 13-digit SA ID number with the date of birth, gender and citizenship it encodes | "Give me 3 valid SA ID numbers for my validator tests." |
| Bank name, account number, branch code and account type | "I need a fake bank account to fill in the debit order form." |
| Street, suburb, city, province and postal code | "Generate 20 addresses to test the province dropdown." |
| Company name, CIPC registration number, VAT number, industry and type | "Create a few suppliers with VAT numbers for the invoice fixtures." |
Sample output
generate_sa_id with { "count": 2, "seed": 42 }:
[
{
"idNumber": "9709052632087",
"dateOfBirth": "1997-09-05",
"gender": "female",
"citizenship": "citizen"
},
{
"idNumber": "9806079410081",
"dateOfBirth": "1998-06-07",
"gender": "male",
"citizenship": "citizen"
}
]generate_company with { "seed": 7 }:
[
{
"name": "Africa Solutions Inc",
"registrationNumber": "2008/464969/11",
"vatNumber": "4315932667",
"industry": "Transport",
"type": "Inc"
}
]Each result also reports how many requests you have left this month.
Errors
Problems come back as tool errors your assistant can read and explain:
no key, or an invalid or revoked key: how to set
SAFAKEDATA_API_KEYand where to get a keyemail not verified: verify it from the email safakedata.dev sent you
monthly limit reached: when the quota resets
too many requests in a short burst: wait a minute and retry
Development
git clone https://github.com/donovangriggs/safakedata-mcp.git
cd safakedata-mcp
npm install
npm test # unit tests with a mocked fetch
npm run lint
npm run typecheck
npm run build # compiles to dist/test/live.test.ts calls the real API and is skipped unless SAFAKEDATA_API_KEY is set:
SAFAKEDATA_API_KEY=safk_your_key npm testTo try a local build in Claude Code: claude mcp add safakedata-dev -e SAFAKEDATA_API_KEY=safk_your_key -- node /path/to/safakedata-mcp/dist/index.js.
Releases
CI runs lint, typecheck, tests and build on every push to main and every pull request, on Node 22, 24 and 26.
Pushing a v* tag that matches the package.json version runs .github/workflows/release.yml, which publishes to npm with provenance. It needs an NPM_TOKEN repository secret holding an npm automation token with publish rights to safakedata-mcp.
Related
safakedata.dev: the API this server calls, with docs and a playground
kal: AI helpers for Claude Code that each work in their own copy of the code, with a human gate
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate fictional names and sample identity profiles for prototypes, QA, demos, and creative work.
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.
Nigerian phone, bank-account and identity-number validation for AI agents. Pay-per-call in USDC.
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.430 npm7MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to generate fake Nigerian data including names, addresses, phone numbers, LGAs, and states for Yoruba, Igbo, and Hausa ethnic groups.2916 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to generate realistic, synthetic test data on demand, including valid PESELs, NIPs, addresses, and more across 27 EU countries, through two tools: list_generators and generate.268 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to generate fake user profiles and companies using the Random Profiles API with automatic API key handling.68 npmMIT