git clone https://github.com/marcelglaeser/seedbase-node{
"mcpServers": {
"seedbase-node": {
"command": "node",
"args": ["/path/to/seedbase-node/dist/index.js"]
}
}
}MCP Servers overview
<p align="center">
<img src="https://seedba.se/seedbase-logo-256.png" alt="Seedbase" width="120" />
</p>
# @seedbase/client
[](https://smithery.ai/servers/marcelgl/seedbase)
Generate realistic, relationship-preserving, privacy-safe test data for your databases — and pull it straight into your local or CI database.
Seedbase lives on [seedba.se](https://seedba.se): 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](https://pypi.org/project/seedbase/).
## Install
```bash
npm install @seedbase/client
```
Zero runtime dependencies — pure ESM, built on the native `fetch` of Node 18+.
## Quickstart
```js
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](https://modelcontextprotocol.io)
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 through three tools:
| Tool | What it does |
| --- | --- |
| `list_projects` | List your SeedBase projects (id, name, database type) |
| `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 |
**Hosted (zero install)** — point any Streamable-HTTP MCP client at
`https://seedba.se/mcp` with an `Authorization: Bearer dr_sk_...` header:
```bash
claude mcp add-json seedbase '{"type":"http","url":"https://seedba.se/mcp","headers":{"Authorization":"Bearer dr_sk_..."}}'
```
**Local via Claude Code (stdio):**
```bash
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`):
```json
{
"mcpServers": {
"seedbase": {
"command": "npx",
"args": ["-y", "-p", "@seedbase/client", "seedbase-mcp"],
"env": { "SEEDBASE_API_KEY": "dr_sk_..." }
}
}
}
```
Create the API key at [seedba.se](https://seedba.se) → Settings → API keys. The
server is stdio-only, talks exclusively to `https://seedba.se`, and stores
nothing locally.
## Authentication
The token is resolved in this order:
1. The `token` option passed to the constructor.
2. The `SEEDBASE_TOKEN` environment variable.
3. The `token` field in `~/.seedbase/config.json` (written by `seedbase login`).
API keys with the `dr_sk_` prefix are sent as `Authorization: Bearer ...`, other
tokens as `Authorization: Token ...`. Get a key at
[seedba.se/settings?tab=api-keys](https://seedba.se/settings?tab=api-keys).
## API
```js
new SeedbaseClient({
token, // optional, see resolution order above
apiUrl, // default "https://seedba.se/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"`. |
| `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.
```js
import { SeedbaseError } from "@seedbase/client";
try {
await client.getProject("missing");
} catch (err) {
if (err instanceof SeedbaseError) {
console.error(err.statusCode, err.message);
}
}
```
## Links
- Website: https://seedba.se
- Docs: https://seedba.se/docs
- API keys: https://seedba.se/settings?tab=api-keys
MIT licensed.
What people ask about seedbase-node
What is marcelglaeser/seedbase-node?
+
marcelglaeser/seedbase-node is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install seedbase-node?
+
You can install seedbase-node by cloning the repository (https://github.com/marcelglaeser/seedbase-node) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is marcelglaeser/seedbase-node safe to use?
+
marcelglaeser/seedbase-node has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains marcelglaeser/seedbase-node?
+
marcelglaeser/seedbase-node is maintained by marcelglaeser. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to seedbase-node?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy seedbase-node to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/marcelglaeser-seedbase-node)<a href="https://claudewave.com/repo/marcelglaeser-seedbase-node"><img src="https://claudewave.com/api/badge/marcelglaeser-seedbase-node" alt="Featured on ClaudeWave: marcelglaeser/seedbase-node" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。