reaatech/mcp-gateway/rate-limiting
Claude Code and agent skill by reaatech/mcp-gateway
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install reaatech/mcp-gateway/rate-limitingSKILL.md
The same SKILL.md was published earlier as reaatech/mcp-gateway/rate-limiting.
Rate Limiting
Capability
Per-tenant rate limiting with token bucket algorithm and Redis-backed distributed state.
Package
@reaatech/mcp-gateway-rate-limit — packages/rate-limit/src/
Components
| Component | Purpose | |
|---|---|---|
rate-limiter.ts | Core RateLimiter class + createRateLimiter factory | |
redis-store.ts | Distributed rate limiting with Redis Lua scripts | |
memory-store.ts | In-memory rate limiting for development | |
quota-manager.ts | Daily quota tracking | |
token-bucket.ts | Token bucket algorithm (capacity, refill, consume) | |
rate-limit.middleware.ts | Express middleware with X-RateLimit-* headers |
Rate Limit Headers
| Header | Description | |
|---|---|---|
X-RateLimit-Limit | Maximum requests allowed | |
X-RateLimit-Remaining | Remaining requests in window | |
X-RateLimit-Reset | Unix timestamp when limit resets | |
Retry-After | Seconds to wait before retrying (on 429) |
Error Handling
- 429 Too Many Requests — JSON-RPC error format with
retryAfter - Includes current limit status in response body
- Fallback to memory store if Redis unavailable
Security Considerations
- Rate limits enforced per-tenant (extracted from auth context)
- Redis Lua scripts ensure atomic operations
- Hard limits never exceeded (fail-closed on Redis errors)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rate-limiting/skill.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reaatech/mcp-gateway/rate-limiting)