Context7
Up-to-date docs for AI agents
Beschreibung vom Entwickler (englisches Original)
Find retiring LLM calls in code and test the replacement model on real traffic before switching.
Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.
Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEYAls geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.
Du brauchst
Welche App nutzt du?
Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.
Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein
{
"mcpServers": {
"llmshift": {
"command": "uvx",
"args": [
"llmshift",
"mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Führe das in deinem Terminal aus
claude mcp add llmshift --env OPENAI_API_KEY=your-value --env ANTHROPIC_API_KEY=your-value --env GEMINI_API_KEY=your-value -- uvx llmshift mcpTrag die leeren Werte ein, bevor du ihn startest.
In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen
{
"mcpServers": {
"llmshift": {
"command": "uvx",
"args": [
"llmshift",
"mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
In .vscode/mcp.json in deinem Projekt einfügen
{
"servers": {
"llmshift": {
"type": "stdio",
"command": "uvx",
"args": [
"llmshift",
"mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value"
}
}
}
}Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.
Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.
Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.
Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026
Der Registry-Name wurde mit dem GitHub-Konto DeChuks-hub bestätigt, dem das Repo gehört
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieses Repo haben wir noch nicht von GitHub gelesen
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Das musst du eintragen: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.1.7) kam vor 8 Tagen in die Registry.
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.
In derselben Kategorie: Context7, Codebase Memory, Exa
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Up-to-date docs for AI agents
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.
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
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:
| Command | What it does |
|---|---|
| Find what has to move | |
llmshift scan | Finds every model your code calls (Python, JS/TS, Go, Java, configs, .env, notebooks) and warns about retirement dates. |
llmshift digest | One message (Slack, Teams, e-mail, ...) listing the models your repositories use that are retired or retire soon. |
| Turn real traffic into tests | |
llmshift snapshot | Turns real usage logs, including multi-step agent runs, into a test set automatically. You write no tests. |
llmshift import openai-evals | Pulls 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 compare | Runs the tests on the new model and shows exactly what changed: broken formats, wrong facts, different tone, different tool calls. |
llmshift pick | Tries several cheaper models at once and recommends the cheapest one that still passes, with the monthly saving. |
llmshift safety | Does the new model refuse more, follow injected instructions or leak private data? |
llmshift embeddings | Shows how search results change before you switch embedding models. |
| Switch | |
llmshift fix | Suggests prompt changes until the new model matches the old one, and points to where each prompt lives in your code. |
llmshift upgrade | Swaps a retiring model in your code and opens a pull request with the test results ("Dependabot for AI models"). |
llmshift check | On every pull request, tests only the prompts it edits, and comments with the result. |
| After switching | |
llmshift shadow report | Checks a new model on a share of live traffic, copied in the background (shadow mode). |
llmshift watch | Runs 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.
# 1. Which models does the code use, and when do they retire?
llmshift scan
llmshift snapshot logs/ --model "gpt-4o*" --since 2026-09-01
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
llmshift fix --to openai:gpt-5.6-sol llmshift upgrade --from gpt-4o-2024-05-13 --apply --compare --pr
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/.
$ 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"),
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..env, INI, Terraform and Dockerfiles. Notebooks: code cells, reported with cell numbers.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..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.llmshift update downloads newer data (below); add or override entries with --registry extra.json; llmshift models gpt-4o searches the data.--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.llmshift snapshot logs/ -o .llmshift/tests.jsonl
snapshot reads JSONL, JSON and CSV files (optionally .gz) and detects the format of each record:
custom_id)generateContent request/response pairs, including logged streams (server-sent events are reassembled){"request": {"body": ...}} records and flat logs{"messages": [...]}, ShareGPT) and Langfuse / LangSmith-style exportsprompt / input / question and output / response / answer columnsEmbedding, 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:
--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.--redact-pii it also replaces e-mails, phone numbers and card numbers, using consistent placeholders so echoed values still match.--max-cases, --per-group).| Output looks like | Checks recorded |
|---|---|
| JSON | valid 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 / number | exact value, plus the label vocabulary seen across the template |
| prose / markdown | facts (numbers with units and scale, dates, IDs, URLs, names), language, markdown structure, length band, tone, similarity |
| tool calls | same tools called, argument keys, short argument values |
| an agent run | the steps: tool calls, loops, step count (below) |
| any | not 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
Nur der Anfang wird gezeigt; den Rest findest du im Repo