Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Research synthesis with receipts: cited, critic-checked insights from interview transcripts.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ANTHROPIC_API_KEY, MOTIF_RUNS_DIRค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"motif": {
"command": "uvx",
"args": [
"etot-motif"
],
"env": {
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
"MOTIF_RUNS_DIR": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add motif --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' --env MOTIF_RUNS_DIR='ใส่ค่าของคุณ' -- uvx etot-motifเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"motif": {
"command": "uvx",
"args": [
"etot-motif"
],
"env": {
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
"MOTIF_RUNS_DIR": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"motif": {
"type": "stdio",
"command": "uvx",
"args": [
"etot-motif"
],
"env": {
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
"MOTIF_RUNS_DIR": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MOTIF_RUNS_DIR envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub sleepycobalt ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: ANTHROPIC_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.5.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
One server, usable from Claude Code, Cursor, Claude Desktop, and any MCP host. A designer or researcher working in an agent environment can say "synthesise these transcripts" and get the same cited, critic-checked result the CLI gives. Every tool is a thin call into synth/engine.py; the loop, prompts, and config are shared with the CLI and the FigJam plugin, never duplicated.
| Tool | In | Out |
|---|---|---|
motif_synthesize | transcripts_dir or files, question, condition (A/B/C), max_iterations | run id, insights JSON, report markdown, contested insight ids, cost |
motif_critique | insights (JSON) or document (markdown/prose); run_id or transcripts_dir; optional transcripts, question | verdict JSON (pass, failures, notes, skipped_rules), summary by rule and by insight, the structured insights, its own run id |
motif_receipts | turn_ids; run_id or transcripts_dir | verbatim turn text, speaker, whether the speaker was the interviewer; missing |
motif_board | run_id, columns, origin_x, origin_y | FigJam layout JSON + one use_figma script per insight for the host to execute through Figma's MCP server |
motif_runs_get | run_id, include | meta, notes, per-iteration verdicts; optionally insights, report, per-call token/timing |
Failure semantics: a missing verdict, an empty synthesis, an unparseable document, a run that does not exist, or turn ids none of which exist all return an MCP tool error. There is no empty success.
Progress: every engine progress line (each transcript ingested, each model call, each critic iteration) is sent twice: as an MCP log notification, which a host only receives if it has set a logging level, and as a progress notification, which a host receives if it passed a progress token (Claude Code does). stdout is the protocol; nothing else ever writes to it.
From PyPI, into any Python 3.10+ environment:
pip install "etot-motif[mcp]"
which motif-mcp # the server entry point; hosts need this absolute path
Or with no install step, if you have uv: the command is uvx --from "etot-motif[mcp]" motif-mcp. Installed this way the server uses the packaged config and writes run logs to ~/.motif/runs (override with MOTIF_RUNS_DIR).
From a Motif checkout:
git clone https://github.com/sleepycobalt/motif.git
cd motif python3 -m venv .venv && source .venv/bin/activate pip install -e ".[mcp]" echo "ANTHROPIC_API_KEY=your-key-here" > .env ls .venv/bin/motif-mcp # the server entry point
The server reads ANTHROPIC_API_KEY from the environment or the repo's .env, writes run logs to runs/ in the repo (override with MOTIF_RUNS_DIR), and uses config/synth.yaml, a symlink to the packaged synth/synth.yaml (override with MOTIF_CONFIG). Every host below needs the absolute path to .venv/bin/motif-mcp; hosts spawn servers without your shell's PATH.
claude mcp add motif -- /ABSOLUTE/PATH/TO/motif/.venv/bin/motif-mcp
Optionally install the skill so Claude Code knows the workflow (verify citations with receipts, mind contested insights, push to FigJam):
mkdir -p ~/.claude/skills/motif
cp /ABSOLUTE/PATH/TO/motif/surfaces/mcp/skills/motif/SKILL.md ~/.claude/skills/motif/SKILL.md
Then in a new Claude Code session:
/mcp # motif should show as connected
synthesise ./data/raw/Dataset-2 with motif and open the report
Claude Code calls motif_synthesize, streams the engine's progress, and can then call motif_receipts to verify any citation or motif_board to push the run onto a FigJam board via Figma's MCP server.
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "motif": { "command": "/ABSOLUTE/PATH/TO/motif/.venv/bin/motif-mcp", "env": { "ANTHROPIC_API_KEY": "your-key-here" } } } }
Restart Cursor; the five motif_* tools appear under MCP tools.
Open the config file (Claude menu → Settings → Developer → Edit Config), or edit it directly:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "motif": { "command": "/ABSOLUTE/PATH/TO/motif/.venv/bin/motif-mcp", "env": { "ANTHROPIC_API_KEY": "your-key-here", "MOTIF_RUNS_DIR": "/ABSOLUTE/PATH/TO/motif/runs" } } } }
Quit and reopen Claude Desktop; the tools appear under the tools icon in the chat box. Claude Desktop cannot open files on your disk, so ask for the report markdown in the reply, or read it from the run directory.
Set MOTIF_REMOTE_URL and the same five tools forward to the hosted Motif service (surfaces/hosted/) instead of running the engine locally: no Python dependencies beyond the server itself, and the same results. Your ANTHROPIC_API_KEY is forwarded with each job and used for that job only. In remote mode a tool's run_id is the hosted job id, valid for an hour after the job finishes; motif_receipts, motif_board, and motif_runs_get take it. The hosted engine runs with the logger's redact=True: prompt and response bodies are stored as length + SHA-256, corpora are never snapshotted, and the job's uploads are deleted at expiry. MOTIF_REMOTE_TOKEN selects the paid tier, which is not switched on yet.
claude mcp add motif -e MOTIF_REMOTE_URL=https://motif-hosted.fly.dev -e ANTHROPIC_API_KEY=your-key-here -- motif-mcp
motif_board returns a layout and scripts; it does not touch Figma. The host (Claude Code with Figma's MCP server authenticated) runs each script with use_figma against a FigJam board URL and reads the result back with get_figjam. Verified on a real board on 2026-09-04 (docs/exhibits/step-zero/, docs/exhibits/board-r5/).
listing.md holds the descriptions for directories that index MCP servers; server.json is the manifest for the official MCP registry (publish after the package is on PyPI).
.venv/bin/python -m pytest -q tests # offline: stubbed model, spawns the server over stdio
.venv/bin/python scripts/critique_acceptance.py # spends API budget: critic vs eval2 human scoring