Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Map messy columns to a known schema — 7 scorers, domain dictionaries, F1 0.84. Zero config.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://infermap-mcp-production.up.railway.app/mcp/เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"infermap": {
"command": "uvx",
"args": [
"infermap"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http infermap https://infermap-mcp-production.up.railway.app/mcp/claude mcp add infermap -- uvx infermapวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"infermap": {
"url": "https://infermap-mcp-production.up.railway.app/mcp/"
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"infermap": {
"command": "uvx",
"args": [
"infermap"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"infermap": {
"type": "http",
"url": "https://infermap-mcp-production.up.railway.app/mcp/"
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"infermap": {
"type": "stdio",
"command": "uvx",
"args": [
"infermap"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://infermap-mcp-production.up.railway.app/mcp/ชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub benseverndev-oss ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.7.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, zanadir
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Find what a repository's CI is missing, and which security checks cannot fail the build.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Moved. This repo has moved into the
benzsevern/goldenmatchmonorepo atpackages/python/infermap (and packages/typescript/infermap)/. This repo is archived; new development happens in the monorepo.
infermap
Inference-driven schema mapping engine.
Map messy source columns to a known target schema — accurately, explainably, with zero config.
Built by Ben Severn .
📖 Wiki · 🌐 Docs · 🧪 Examples · 💬 Discussions · 🐛 Issues
infermap is a schema-mapping engine. Give it any two field collections (CSVs, DataFrames, database tables, in-memory records) and it figures out which source field corresponds to which target field, with confidence scores and human-readable reasoning. Available as a Python package on PyPI and a TypeScript package on npm, with mapping decisions verified bit-for-bit by a shared golden-test parity suite.
pip install infermap
Optional database extras:
pip install infermap[postgres] # psycopg2-binary
pip install infermap[mysql] # mysql-connector-python pip install infermap[duckdb] # duckdb pip install infermap[all] # all extras
npm install infermap
Zero runtime dependencies in the core entrypoint. Compatible with Next.js Server Components, Route Handlers, Server Actions, and the Edge Runtime out of the box. See the package README for the full reference.
import infermap
result = infermap.map("crm_export.csv", "canonical_customers.csv")
for m in result.mappings: print(f"{m.source} -> {m.target} ({m.confidence:.0%})")
import polars as pl df = pl.read_csv("crm_export.csv") renamed = result.apply(df)
result.to_config("my_mapping.yaml")
saved = infermap.from_config("my_mapping.yaml")
import { map } from "infermap";
const crm = [ { fname: "John", lname: "Doe", email_addr: "j@d.co" }, { fname: "Jane", lname: "Smith", email_addr: "j@s.co" }, ];
const canonical = [ { first_name: "", last_name: "", email: "" }, ];
const result = map({ records: crm }, { records: canonical });
for (const m of result.mappings) { console.log(${m.source} → ${m.target} (${m.confidence.toFixed(2)})); } // fname → first_name (0.44) // lname → last_name (0.48) // email_addr → email (0.69)
For Next.js, drop it directly into a Route Handler — works on Edge Runtime with zero config:
// app/api/infer/route.ts
import { map } from "infermap"; export const runtime = "edge";
export async function POST(req: Request) { const { sourceCsv, targetCsv } = await req.json(); const result = map({ csvText: sourceCsv }, { csvText: targetCsv }); return Response.json(result); }
Each field pair runs through a pipeline of 7 scorers. Each scorer returns a score in [0.0, 1.0] or abstains (None/null). The engine combines scores via weighted average (requiring at least 2 contributors), then uses the Hungarian algorithm for optimal one-to-one assignment.
| Scorer | Weight | What it detects |
|---|---|---|
| ExactScorer | 1.0 | Case-insensitive exact name match |
| AliasScorer | 0.95 | Known field aliases (fname ↔ first_name, tel ↔ phone) + domain dictionaries |
| InitialismScorer | 0.75 | Abbreviation-style names (assay_id ↔ ASSI, confidence_score ↔ CONSC) |
| PatternTypeScorer | 0.7 | Semantic type from sample values — email, date_iso, phone, uuid, url, zip, currency |
| ProfileScorer | 0.5 | Statistical profile similarity — dtype, null rate, unique rate, length, cardinality |
| FuzzyNameScorer | 0.4 | Jaro-Winkler similarity on normalized field names (with common-prefix canonicalization) |
| LLMScorer | 0.8 | Pluggable LLM-backed scorer (stubbed by default) |
The engine also applies common-prefix canonicalization — automatically stripping schema-wide prefixes like prospect_ so that City vs prospect_City is compared as City vs City. And optional confidence calibration transforms raw scores into calibrated probabilities post-assignment (ECE from 0.46 to 0.005 on real-world data).
| Python | TypeScript | |
|---|---|---|
| 7 built-in scorers | ✅ | ✅ |
| Hungarian assignment | ✅ (scipy) | ✅ (vendored) |
| Custom scorers | @infermap.scorer | defineScorer() |
| Domain dictionaries | ✅ (YAML) | ✅ (inlined) |
| Confidence calibration | ✅ (Identity/Isotonic/Platt) | ✅ |
| Score matrix inspection | ✅ | ✅ |
| In-memory data | Polars, Pandas, list[dict] | Array |
| File providers | CSV, Parquet, XLSX | CSV, JSON |
| Schema definition files | YAML + JSON | JSON |
| Database providers | SQLite, Postgres, DuckDB | SQLite, Postgres, DuckDB |
| Engine config | YAML | JSON |
| Saved mapping format | YAML | JSON |
| CLI | ✅ (Typer) | ✅ (node:util) |
| Apply to DataFrame | ✅ | ❌ (CSV rewrite via CLI) |
| Edge-runtime compatible | ❌ | ✅ |
| Zero runtime deps | n/a | ✅ |
| Accuracy benchmark | ✅ (162 cases, F1 0.84) | ✅ (parity within 0.0005) |
| If you are… | Use |
|---|---|
| Building a Python data pipeline or notebook | Python |
| Building a Next.js app, Node service, or browser tool | TypeScript |
| Running mapping in a serverless edge function | TypeScript (zero Node built-ins) |
| Doing ad-hoc CSV exploration on the command line | Python CLI has more features; TS CLI is leaner |
| Both — Python backend + Next.js admin UI | Both — outputs are interoperable via the JSON config format |
+18.3pp F1 on real-world data from four compounding improvements:
v0.2 baseline F1 0.657
New features:
MapEngine(domains=["healthcare"]) loads curated aliases for your domain. Ships: generic (default), healthcare, finance, ecommerce. See examples/09_domain_dictionaries.py.MapEngine(calibrator=cal) transforms raw scores into calibrated probabilities. Ships: IsotonicCalibrator, PlattCalibrator. Valentine ECE: 0.46 → 0.005. See examples/10_calibration.py.assay_id ↔ ASSI). ChEMBL F1: 0.524 → 0.819.prospect_, assays_, etc. before fuzzy matching.import infermap
from infermap.types import FieldInfo, ScorerResult
@infermap.scorer("prefix_scorer", weight=0.8) def prefix_scorer(source: FieldInfo, target: FieldInfo) -> ScorerResult | None: if source.name[:3].lower() != target.name[:3].lower(): return None return ScorerResult(score=0.85, reasoning=f"Shared prefix '{source.name[:3]}'")
from infermap.engine import MapEngine from infermap.scorers import default_scorers
engine = MapEngine(scorers=[*default_scorers(), prefix_scorer])
import { MapEngine, defaultScorers, defineScorer, makeScorerResult } from "infermap";
const prefixScorer = defineScorer( "prefix_scorer", (source, target) => { if (source.name.slice(0, 3).toLowerCase() !== target.name.slice(0, 3).toLowerCase()) { return null; } return makeScorerResult(0.85, Shared prefix '${source.name.slice(0, 3)}'); }, 0.8 // weight );
const engine = new MapEngine({ scorers: [...defaultScorers(), prefixScorer], });
The CLI works the same way in both packages:
# Map two files and print a report
infermap map crm_export.csv canonical_customers.csv
infermap map crm_export.csv canonical_customers.csv -o mapping.json
infermap apply crm_export.csv --config mapping.json --output renamed.csv
infermap inspect crm_export.csv infermap inspect "sqlite:///mydb.db" --table customers
infermap validate crm_export.csv --config mapping.json --required email,id --strict
Both packages accept an engine config (scorer weight overrides + alias extensions). Python uses YAML, TypeScript uses JSON; the shape is identical.
# Python: infermap.yaml
domains:
scorers: LLMScorer: enabled: false FuzzyNameScorer:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo