SeedBase Test Data
概览
作者提供的说明(英文原文)
Generate realistic, FK-consistent synthetic test data for your databases from your AI assistant.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 37/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 数据库与数据集
- 你需要填写:SEEDBASE_API_KEY, Authorization
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 需要你自己填写:
SEEDBASE_API_KEY,Authorization
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"seedbase": {
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http seedbase https://seedba.se/mcp --header 'Authorization: your-value'或者在你的电脑上运行
claude mcp add seedbase --env SEEDBASE_API_KEY=your-value -- npx -y @seedbase/client运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"seedbase": {
"url": "https://seedba.se/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"seedbase": {
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"seedbase": {
"type": "http",
"url": "https://seedba.se/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"seedbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@seedbase/client"
],
"env": {
"SEEDBASE_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- SeedBase API key (dr_sk_...) — create at https://seedba.se -> Settings -> API keys
Authorization机密 必填 HTTP headerBearer — create the API key at https://seedba.se -> Settings -> API keys
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 marcelglaeser 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
端点有响应
尚未检查;我们会轮流检查各个端点
- … 尚未检查
使用 OAuth 登录
尚未检查;我们会轮流检查各个端点
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1152 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1152 个服务器的 14% 更新
- 基础检查结果等于或优于此分类中其他 1152 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
SeedBase Test Data 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:SEEDBASE_API_KEY, Authorization
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.2.2)于5个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@seedbase/client
Generate realistic, relationship-preserving, privacy-safe test data for your databases — and pull it straight into your local or CI database.
Seedbase lives on seedbase.dev: you model (or import) a schema there, generate datasets, and use this package to pull them into Postgres, MySQL, SQLite and more. Schema-aware, foreign-key-correct, reproducible by seed.
This is the Node.js client, a counterpart to the Python SDK.
Install
npm install @seedbase/client
Zero runtime dependencies — pure ESM, built on the native fetch of Node 18+.
Quickstart
import { SeedbaseClient } from "@seedbase/client";
// Token from the argument, $SEEDBASE_TOKEN, or ~/.seedbase/config.json const client = new SeedbaseClient({ token: "dr_sk_..." });
// Trigger a generation and wait for it to finish const gen = await client.generate(projectId, { seed: 42, wait: true });
// Download the result (Uint8Array) const bytes = await client.download(gen.id, { format: "sql" }); import { writeFile } from "node:fs/promises"; await writeFile("dump.sql", bytes);
MCP server (Claude Code, Claude Desktop & friends)
This package ships seedbase-mcp — a zero-dependency Model Context Protocol server that lets AI assistants generate test data for you. Describe what you need ("fill my Shop project with MySQL test data") and the assistant drives SeedBase end-to-end through five tools:
| Tool | What it does |
|---|---|
list_projects | List your SeedBase projects (id, name, database type) |
create_project | Create a new, empty project |
import_schema | Import a schema from SQL DDL (raw pg_dump --schema-only works), CSV/JSON or ORM model code |
get_ddl | Get a project's schema as CREATE TABLE statements, per dialect |
generate_test_data | Generate a fresh FK-consistent dataset and return it as SQL (large results are written to a local file, never truncated) |
Hosted (zero install) — point any Streamable-HTTP MCP client at https://seedbase.dev/mcp with an Authorization: Bearer dr_sk_... header:
claude mcp add-json seedbase '{"type":"http","url":"https://seedbase.dev/mcp","headers":{"Authorization":"Bearer dr_sk_..."}}'
Local via Claude Code (stdio):
claude mcp add-json seedbase '{"type":"stdio","command":"npx","args":["-y","-p","@seedbase/client","seedbase-mcp"],"env":{"SEEDBASE_API_KEY":"dr_sk_..."}}'
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "seedbase": { "command": "npx", "args": ["-y", "-p", "@seedbase/client", "seedbase-mcp"], "env": { "SEEDBASE_API_KEY": "dr_sk_..." } } } }
Create a free account at seedbase.dev/register (no credit card), then create an API key under Settings → API keys. The free tier is enough to generate full, foreign-key-consistent datasets. The server is stdio-only, talks exclusively to https://seedbase.dev, and stores nothing locally.
Authentication
The token is resolved in this order:
- The
tokenoption passed to the constructor. - The
SEEDBASE_TOKENenvironment variable. - The
tokenfield in~/.seedbase/config.json(written byseedbase login).
API keys with the dr_sk_ prefix are sent as Authorization: Bearer ..., other tokens as Authorization: Token .... Get a key at seedbase.dev/settings?tab=api-keys.
API
new SeedbaseClient({
token, // optional, see resolution order above apiUrl, // default "https://seedbase.dev/api/v1" (https enforced, http only for localhost) configPath, // override ~/.seedbase/config.json requestTimeout, // per-request timeout in ms, default 30000 fetch, // inject a custom fetch (e.g. for tests) });
| Method | Description |
|---|---|
listProjects() | All datasets/projects (paginated, followed automatically). |
getProject(projectId) | A single project. |
listGenerations(projectId) | Generations for a project (paginated). |
getGeneration(generationId) | A single generation. |
generate(projectId, opts) | Trigger a generation. opts: { seed, rows, format, rebaseTo, wait, timeout, pollInterval }. With wait: true it polls until the generation reaches completed/failed/cancelled. |
download(generationId, { format }) | Download the generated artifact as a Uint8Array. format defaults to "sql". |
seededRows(projectId, { seed, rows }) | Generate and return the rows as { tableName: [row, ...] }, in foreign-key-safe order. |
exportConfig(projectId) | The project's engine config as an object. |
importConfig(projectId, config) | Replace the project's engine config. |
All methods are async and return Promises. Failures throw a SeedbaseError (with .statusCode for HTTP errors), carrying a readable message that includes the server's detail or field errors.
import { SeedbaseError } from "@seedbase/client";
try { await client.getProject("missing"); } catch (err) { if (err instanceof SeedbaseError) { console.error(err.statusCode, err.message); } }
Prisma seed
Fill a Prisma-managed database with realistic, foreign-key-consistent data, in one call. Your schema must already exist (your prisma migrate owns it); SeedBase only fills it. Free tier.
// prisma/seed.ts
import { PrismaClient } from "@prisma/client"; import { SeedbaseClient } from "@seedbase/client"; import { seedPrisma } from "@seedbase/client/prisma";
const prisma = new PrismaClient(); const client = new SeedbaseClient({ token: process.env.SEEDBASE_TOKEN });
await seedPrisma(prisma, client, { project: process.env.SEEDBASE_PROJECT, seed: 42 });
Then run prisma db seed. A runnable demo (offline, no account) is in examples/prisma-seed-demo.mjs.
Links
- Website: https://seedbase.dev
- Docs: https://seedbase.dev/docs
- API keys: https://seedbase.dev/settings?tab=api-keys
MIT licensed.