Skip to content
MCP server
Registry

retrykit MCP Server

AI/LLM retry diagnostics, SDK double-retry audit, and fault evaluation MCP server.

retrykit scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 0 stars. Package registries report about 474 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by rohan9024MITTypeScript0 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "rohan9024-retrykit": {      "command": "npx",      "args": [        "-y",        "@rohan9024/retrykit@2.1.2"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

@rohan9024/retrykit v3.0.0

The reliability and quota engine for production AI applications: prevent retry storms, coordinate provider limits, and recover streams safely—with zero runtime dependencies.

Quick start

npm i @rohan9024/retrykit
# Node.js >=22 is required
import OpenAI from 'openai';
import { wrapOpenAI } from '@rohan9024/retrykit/auto';

const client = wrapOpenAI(new OpenAI({ apiKey: process.env.OPENAI_API_KEY, maxRetries: 0 }));
const result = await client.chat.completions.create({ model: 'gpt-4o-mini', messages: [{ role: 'user', content: 'Hello' }] });

Vibe-coder prompt

Install @rohan9024/retrykit, inspect existing provider retry behavior, use @rohan9024/retrykit/auto or a focused subpath, set nested SDK retries to 0, and run the project checks. Never use the unscoped retrykit package.

Install the coding-agent skill separately:

npx skills add rohan9024/retrykit --skill retrykit

Modules

ImportPurpose
@rohan9024/retrykitCurated root API
/coreRetry, backoff, providers, circuit breaker, coordinator
/autoNested client proxy and environment key discovery
/fetchAbort-aware HTTP retries and idempotency policies
/streamCheckpoint-safe stream recovery
/compactionTool-call-safe context compaction
/budgetRetry and cost budget primitives
/validateStructural Standard Schema validation retries
/mcpExplicitly idempotent MCP retries
/ai-sdkStructural Vercel AI SDK middleware
/otelZero-dependency, secret-scrubbed GenAI span hooks
/stores/upstashEdge-safe Upstash REST state store
/testingDeterministic Fault Lab utilities
/clientCoordinated fetch, retry, circuit, budget, and stream client

Reliability rules

  • Retry only safe or explicitly idempotent operations.
  • A stream is resumable only when getCheckpoint is supplied.
  • Set SDK retries to 0 when RetryKit owns the policy.
  • Built-in coordination state is process-local.
  • Pricing and token estimates are estimates unless based on actual provider usage.
  • POST and PATCH retries require an idempotency key or explicit replay approval.
  • Unclassified errors are not retried by default.

Honest comparison

RetryKit focuses on AI-provider concerns—rate-limit headers, key pools, stream checkpoints, budgets, and agent-friendly subpaths. p-retry, async-retry, and cockatiel remain good generic promise-retry choices; Axios Retry and Opossum target HTTP and circuit breaking. Provider SDKs and AI frameworks may overlap, so avoid stacking policies.

Development

npm run typecheck
npm test
npm run build

CLI and migration

Use npx @rohan9024/retrykit doctor --json to audit SDK retry settings, npx @rohan9024/retrykit eval to run deterministic Fault Lab scenarios, npx @rohan9024/retrykit init --dry-run to preview setup, and npx @rohan9024/retrykit mcp for the stdio MCP server.

Migrating from p-retry: use retry() for promise operations, createRetryFetch() for HTTP, and the provider-aware policy when rate-limit headers, billing classification, stream checkpoints, or replay safety matter. Keep p-retry for generic non-AI work that does not need these guarantees.

CI / PR Audit Action

- uses: rohan9024/retrykit@v2
  with:
    fail-on-error: 'true'
    sarif-file: retrykit-doctor.sarif

The action writes a SARIF report and prints JSON findings. It fails only for error-severity findings when fail-on-error is enabled.

Fault Lab

Try the static Fault Lab at https://rohan9024.github.io/retrykit/ for deterministic demonstrations of retry storms, stream interruptions, and tool-call safety.

Reproducible benchmark simulation

Run node benchmarks/storm-benchmark.mjs for the deterministic 50-caller Fault Lab simulation. The current measured policy table is:

StrategyRequests FiredWasted Quota RetriesStream DuplicatesCompaction Crashes
Naive SDK + generic 3x loop1501005050
Naive while retry20015010050
RetryKit v2.1 policy100000

These are deterministic simulation counts, not provider-latency or download claims.

MIT licensed.

Frequently asked questions

What is retrykit MCP Server?

AI/LLM retry diagnostics, SDK double-retry audit, and fault evaluation MCP server.

How do I install retrykit MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. retrykit MCP Server runs locally from the npm package @rohan9024/retrykit with the command npx -y @rohan9024/retrykit@2.1.2.

Is retrykit MCP Server free and open source?

Yes. retrykit MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does retrykit MCP Server support remote (HTTP) connections?

No remote endpoint is listed for retrykit MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is retrykit MCP Server's trust score calculated?

retrykit MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server