ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

llmshift

โดย DeChuks-hubรุ่น 0.1.7i★ –iรันบนเครื่อง
ชื่อใน registryio.github.DeChuks-hub/llmshift

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Find retiring LLM calls in code and test the replacement model on real traffic before switching.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "llmshift": {
      "command": "uvx",
      "args": [
        "llmshift",
        "mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GEMINI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add llmshift --env OPENAI_API_KEY='ใส่ค่าของคุณ' --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' --env GEMINI_API_KEY='ใส่ค่าของคุณ' -- uvx llmshift mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "llmshift": {
      "command": "uvx",
      "args": [
        "llmshift",
        "mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GEMINI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "llmshift": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "llmshift",
        "mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "ใส่ค่าของคุณ",
        "ANTHROPIC_API_KEY": "ใส่ค่าของคุณ",
        "GEMINI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • OPENAI_API_KEY ความลับ env
    For tools that call OpenAI models (compare, pick, fix, safety). Not needed for scan or models.
  • ANTHROPIC_API_KEY ความลับ env
    For tools that call Claude models. Not needed for scan or models.
  • GEMINI_API_KEY ความลับ env
    For tools that call Gemini models. Not needed for scan or models.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub DeChuks-hub ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7258 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 81% ของอีก 7258 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7258 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

llmshift ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.7) เข้า registry 8 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

LLMShift

Switch AI models without breaking your product.

GPT-4o, GPT-4o mini and GPT-4.1 retire on 14 January 2027, GPT-5 and o3 on 11 December, Claude Sonnet 4.5 on 30 November. Does your code call one of them? Find out in seconds, with nothing to install:

uvx llmshift scan        # or: pipx run llmshift scan

A real run: scan on a sample repository, then compare replaying llmshift's demo traffic on Claude Haiku 5.5.

Leaving the OpenAI Evals platform? It goes read-only on 31 October and its API shuts down on 30 November 2026. llmshift import openai-evals --api --all pulls every eval, its latest run and the graded outputs into tests you keep, and runs them on any model (how, or the step-by-step guide).

Then test the replacement on your real traffic before the shutdown date: llmshift snapshot turns your logs into tests and llmshift compare --to shows what changes. llmshift demo walks through it with simulated models, no API key needed.

Providers now retire models roughly every six months. When a model's behaviour changes, outputs can look fine and still be wrong, and nothing raises an error. LLMShift is built around the moment of switching models, from finding the calls to proving the new model works:

CommandWhat it does
Find what has to move
llmshift scanFinds every model your code calls (Python, JS/TS, Go, Java, configs, .env, notebooks) and warns about retirement dates.
llmshift digestOne message (Slack, Teams, e-mail, ...) listing the models your repositories use that are retired or retire soon.
Turn real traffic into tests
llmshift snapshotTurns real usage logs, including multi-step agent runs, into a test set automatically. You write no tests.
llmshift import openai-evalsPulls every eval, its latest run and the graded outputs out of the OpenAI Evals API (--api --all) into tests you keep. The Evals platform goes read-only on 31 Oct 2026 and its API shuts down on 30 Nov 2026.
Choose the new model
llmshift compareRuns the tests on the new model and shows exactly what changed: broken formats, wrong facts, different tone, different tool calls.
llmshift pickTries several cheaper models at once and recommends the cheapest one that still passes, with the monthly saving.
llmshift safetyDoes the new model refuse more, follow injected instructions or leak private data?
llmshift embeddingsShows how search results change before you switch embedding models.
Switch
llmshift fixSuggests prompt changes until the new model matches the old one, and points to where each prompt lives in your code.
llmshift upgradeSwaps a retiring model in your code and opens a pull request with the test results ("Dependabot for AI models").
llmshift checkOn every pull request, tests only the prompts it edits, and comments with the result.
After switching
llmshift shadow reportChecks a new model on a share of live traffic, copied in the background (shadow mode).
llmshift watchRuns a scheduled check against the live model and alerts you (Slack, Teams, GitHub issue, e-mail, ...) when its behaviour drifts.

AI coding assistants can use all of this as tools: llmshift mcp is an MCP server for Claude Code, Cursor and VS Code.

LLMShift is a single pure-Python package with no compiled code: its only dependency is tomli on Python 3.9 and 3.10 (to read pyproject.toml), and a copy of PyYAML's pure-Python YAML parser is included. It talks to OpenAI, Azure OpenAI, Anthropic, Gemini and any OpenAI-compatible endpoint over plain HTTPS, so there are no SDK version conflicts. You can also run it as a GitHub Action.

pip install llmshift

llmshift demo # 1-minute offline walkthrough with simulated models (no API key)

It runs on Python 3.9 to 3.15 on Linux, macOS and Windows, and installs without a compiler on any of them.


Quick start with your own app

# 1. Which models does the code use, and when do they retire?

llmshift scan

2. Turn real traffic into tests (OpenAI/Anthropic/Gemini logs, LangSmith/Langfuse exports, CSV, ...)

llmshift snapshot logs/ --model "gpt-4o*" --since 2026-09-01

3. What changes on the new model? Or: which cheaper model would do?

export OPENAI_API_KEY=... llmshift compare --to openai:gpt-5.6-sol llmshift pick --models openai:gpt-6-luna,anthropic:claude-haiku-5-5 --volume 100k

4. Get prompt changes that close the gaps, then open the upgrade pull request

llmshift fix --to openai:gpt-5.6-sol llmshift upgrade --from gpt-4o-2024-05-13 --apply --compare --pr

5. After switching, watch the live model every night

llmshift watch --model openai:gpt-5.6-sol --alert slack:$SLACK_WEBHOOK_URL

llmshift init --github writes a llmshift.yaml and two workflows: PR checks and a nightly watch. More workflows are in examples/workflows/.


scan: find every model call and its retirement date

$ llmshift scan

LLMShift scan 5 files, 6 model references, 4 distinct models (lifecycle data: 2026-10-21)

✗ RETIRED claude-3-5-haiku-20241022 anthropic retired on 2026-02-19; replacement: claude-haiku-4-5-20251001 app/summaries.py:10 model="claude-3-5-haiku-20241022", ! 2 DAYS LEFT gpt-4o-2024-05-13 openai retires 2026-10-23 (2 days left); replacement: gpt-5.6-sol app/triage.py:7 TRIAGE_MODEL = "gpt-4o-2024-05-13" app/triage.py:17 model=TRIAGE_MODEL, (via TRIAGE_MODEL, line 7) app/replies.py:15 model=os.getenv("REPLY_MODEL", "gpt-4o-2024-05-13"),

  • Python is analysed with the AST. It finds model=-style arguments and models passed to known constructors (GenerativeModel, init_chat_model, pydantic-ai Agent, LiteLLM, ...). It also handles {"model": ...} dicts, constants used elsewhere (MODEL = "..." then model=MODEL) and os.getenv("X", "default") fallbacks. Docstrings and comments are ignored.
  • Other code (JS/TS, Go, Java, Kotlin, C#, Ruby, PHP, Rust, Swift, ...): string literals that are model IDs, and values of model-like keys.
  • Config: YAML, JSON, TOML, .env, INI, Terraform and Dockerfiles. Notebooks: code cells, reported with cell numbers.
  • ID formats are normalised. Bedrock (us.anthropic.claude-...-v1:0, full ARNs), Vertex (claude-...@20241022, projects/.../models/...), OpenRouter/LiteLLM prefixes (openai/gpt-4o), dotted spellings (claude-3.5-sonnet) and fine-tunes (ft:gpt-4o-mini-..., which follow their base model's schedule) all map to their base model.
  • In a git repository, files git ignores are skipped unless you name them, and so is LLMShift's own .llmshift/ folder. --exclude takes globs: a bare name (legacy) matches at any depth, and paths may be relative to the scanned directory or the current one.
  • Lifecycle data covers 617 models from OpenAI, Anthropic, Google (Gemini API and Vertex AI), Mistral, Cohere, xAI and DeepSeek. It was built from the providers' official deprecation pages on 2026-10-21. Status is computed from dates at run time, so a model turns "retired" on its shutdown day. llmshift update downloads newer data (below); add or override entries with --registry extra.json; llmshift models gpt-4o searches the data.
  • In CI, use --fail-on retired|retiring|deprecated|unknown|never (default retired). Output formats: --format table|json|markdown|sarif. Inside GitHub Actions, findings appear as annotations on the diff and in the job summary.

snapshot: real usage logs become a test set

llmshift snapshot logs/ -o .llmshift/tests.jsonl

snapshot reads JSONL, JSON and CSV files (optionally .gz) and detects the format of each record:

  • OpenAI Chat Completions, Responses API and Batch files (each batch's input and output files are joined on custom_id)
  • Anthropic Messages and Gemini generateContent request/response pairs, including logged streams (server-sent events are reassembled)
  • Helicone-style {"request": {"body": ...}} records and flat logs
  • chat datasets ({"messages": [...]}, ShareGPT) and Langfuse / LangSmith-style exports
  • any rows with prompt / input / question and output / response / answer columns

Embedding, moderation, image and audio calls are skipped, and every skipped record is counted with its reason. --append adds only cases that are not already in the test file. Logs of any size are read as a stream: beyond --max-records calls (default 100,000) a fair sample is kept for every prompt template.

Then it:

  1. Drops failed calls and truncated outputs, and applies --model, --since and --until filters. Each case keeps the request's settings, extended thinking included: OpenAI's reasoning effort, Claude's thinking and effort, and Gemini's thinkingConfig.
  2. Redacts secrets. With --redact-pii it also replaces e-mails, phone numbers and card numbers, using consistent placeholders so echoed values still match.
  3. Removes duplicates and groups requests by prompt template.
  4. Picks a diverse sample per template (--max-cases, --per-group).
  5. Infers checks from what the old model actually did:
Output looks likeChecks recorded
JSONvalid JSON (no code fences), JSON schema (required keys are those present in every output of the template), field values for labels, flags, IDs and amounts
a label / numberexact value, plus the label vocabulary seen across the template
prose / markdownfacts (numbers with units and scale, dates, IDs, URLs, names), language, markdown structure, length band, tone, similarity
tool callssame tools called, argument keys, short argument values
an agent runthe steps: tool calls, loops, step count (below)
anynot empty, not a refusal

Logs without outputs? Pass --baseline-model openai:gpt-4o-2024-08-06 to generate them.

No logs yet? Record them from your app with one line:

from llmshift.record import wrap

client = wrap(OpenAI(), path="logs/llm.jsonl") # works with OpenAI, AsyncOpenAI, Anthropic, AsyncAnthropic, streaming

Streamed responses, including the SDKs' stream helpers (with client.messages.stream(...), client.chat.completions.stream(...)), are logged whole once the stream ends, with tool calls and token usage. Calls through `w

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx