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 分

    請在儲存庫或註冊中心條目中宣告授權條款。