Seedweaver Mcp

io.github.FixtureForge由 GitHub 账号 FixtureForge 发布v0.2.0更新于 Oct 24, 2026

Schema-aware relational test data generator with working foreign keys, for any MCP client.

已验证STDIO仅桌面数据库开发者工具

概览

AI 生成的概览

根据 SQL 或 JSON 模式生成真实且外键一致的测试数据,可输出 INSERT 语句、JSON 或 CSV。

可以做什么
  • 分析模式:解析粘贴的 SQL DDL 或 JSON 模式,报告表、列、关系与生成顺序。
  • 生成种子数据:产出遵守外键、唯一与 NOT NULL 约束的数据行,姓名、邮箱、日期、小数等取值贴近真实。
  • 导出结果:默认输出 SQL INSERT 语句,付费版还可输出 JSON 或 CSV。
适用场景
需要为关系型数据库准备种子或测试数据,并希望外键指向真实生成的主键时使用,例如依据现有模式填充开发或测试数据库。
运行要求
以 stdio 方式在本地运行,通过 npx 启动,需要 Node.js。免费版无需账号、API 密钥或环境变量;付费版需通过 SEEDWEAVER_LICENSE 环境变量传入许可证密钥。
安装前请注意
免费版限制为每个模式 2 张表、每表 50 行,且不含 CSV 输出、可复现种子、自定义语言区域和 CI 用途;Pro 版每月 19 美元并需许可证密钥。生成的 INSERT 语句用于在数据库中执行,运行前请先检查。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Seedweaver Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

SeedWeaver 🌱

Generate realistic, referentially-coherent test data from your real database schema — straight from Claude, Cursor, or any MCP client.

Paste your CREATE TABLE SQL (or a JSON schema) and SeedWeaver generates seed data where foreign keys actually resolve to real primary keys, unique constraints are respected, and values are realistic (names, emails, dates, decimals). Unlike generic mock-data tools that spit out statistically random junk, SeedWeaver understands the relationships in your schema.

Ask your AI: "Generate 50 users and 200 orders for this schema" — and get INSERTs you can run immediately, with every order.user_id pointing at a user that exists.


Why SeedWeaver

Most "fake data" tools (Faker wrappers, random generators) give you isolated rows with no awareness of your schema. The moment you have foreign keys, you're back to hand-wiring relationships. SeedWeaver:

  • Resolves foreign keys — referenced tables are generated first (topological ordering), and FK columns point at real generated keys.
  • Respects constraints — unique columns stay unique, primary keys are unique, NOT NULL is honored.
  • Reads your real schema — paste Postgres/MySQL CREATE TABLE DDL directly, no manual config.
  • Realistic values — names, emails, addresses, companies, dates, decimals, enums.
  • Outputs what you need — SQL INSERT statements, JSON, or CSV.

Install

bash
npx -y seedweaver-mcp

Add to your MCP client config (Claude Desktop / Cursor / Windsurf):

json
{  "mcpServers": {    "seedweaver": {      "command": "npx",      "args": ["-y", "seedweaver-mcp"]    }  }}

Tools

ToolWhat it does
analyze_schemaParse a schema (SQL DDL or JSON) and report tables, columns, relationships, and generation order. Run this first to confirm SeedWeaver reads your schema correctly.
generate_seed_dataGenerate coherent test data. Returns SQL INSERTs (default), JSON, or CSV.

Examples

From SQL DDL:

Generate 20 rows of test data for:
CREATE TABLE users (  id UUID PRIMARY KEY,  email VARCHAR(255) UNIQUE NOT NULL,  full_name VARCHAR(100),  created_at TIMESTAMP);CREATE TABLE orders (  id SERIAL PRIMARY KEY,  user_id UUID NOT NULL REFERENCES users(id),  total DECIMAL(10,2),  status VARCHAR(20));

Every generated orders.user_id will be a real users.id.

From a JSON schema (gives you fine control — enums, ranges, per-table row counts):

json
{  "tables": [    {      "name": "users",      "rows": 20,      "columns": [        { "name": "id", "type": "uuid", "primaryKey": true },        { "name": "email", "type": "email", "unique": true },        { "name": "name", "type": "fullName" }      ]    },    {      "name": "orders",      "rows": 80,      "columns": [        { "name": "id", "type": "serial", "primaryKey": true },        { "name": "user_id", "type": "fk", "references": "users.id" },        { "name": "total", "type": "decimal", "min": 5, "max": 500 },        { "name": "status", "type": "enum", "values": ["pending", "paid", "shipped"] }      ]    }  ]}

Supported column types: uuid, serial, int, decimal, boolean, email, fullName, firstName, lastName, username, phone, address, city, country, company, url, word, sentence, paragraph, date, datetime, enum, fk.


Free vs. Pro

The free tier is fully functional for small schemas. Pro removes the limits and adds the features you need for real projects and CI.

FreePro
Tables per schema2Unlimited
Rows per table50Unlimited
Output formatsSQL, JSON+ CSV
Deterministic seeds (reproducible data)—✓
Custom locales—✓
Use in CI / automation—✓

→ Get SeedWeaver Pro — $19/mo

Activate by setting your license key:

json
{  "mcpServers": {    "seedweaver": {      "command": "npx",      "args": ["-y", "seedweaver-mcp"],      "env": { "SEEDWEAVER_LICENSE": "your-key-here" }    }  }}

License

The SeedWeaver MCP server is MIT licensed and free to run. Pro features are unlocked with a paid license key. Built with the Model Context Protocol.

来源:README.md,提交 76246f4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。