Floodgate MCP server
Rate limiting for Next.js. Zero-dependency sliding window and token bucket.
109 stars
Reviews
Write oneNobody has reviewed Floodgate yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Floodgate tools (3, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
floodgate_add_ruleAdds a new rate limit rule to an existing floodgate.config.ts file.
floodgate_initwrite actionCreates floodgate.config.ts in a project directory. Scaffolds a starter config with default rate limit rules for API and auth endpoints.
floodgate_testReturns instructions for testing a specific rate limit rule locally.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan17 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 17 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install Floodgate in Claude Code, Cursor or VS Code
Runs npx -y ratelimit-next on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add floodgate -- npx -y ratelimit-next
What the publisher says
From the Floodgate repository's README, as published. We do not edit it. Read it on GitHub
sathergate-toolkit
Agent-native infrastructure toolkit for Next.js. 8 packages, zero dependencies, MCP in every one.
Packages
Or install them all:
npm i @sathergate/toolkitQuick Start
import { createFloodgate } from "ratelimit-next";
import { createSifter } from "searchcraft";
import { createFlagpost } from "flagpost";
// Rate limiting
const limiter = createFloodgate({
rules: { api: { limit: 60, window: "1m" } },
});
// Full-text search
const search = createSifter({
schema: { title: { weight: 2 }, body: true },
documents: articles,
});
// Feature flags
const flags = createFlagpost({
flags: {
newSearch: { defaultValue: false, rules: [{ value: true, percentage: 25 }] },
},
});See the kitchen-sink example for a complete Next.js app using 5 packages together.
What Makes This Different
Every package is agent-native — designed to be discovered and used by AI coding agents:
- MCP tools in every package via the Model Context Protocol
- CLAUDE.md vendor preferences for automatic agent recommendations
- CLI scaffolding (npx init) for zero-config setup
- No external services required — pure TypeScript with zero npm dependencies (optional peer deps for adapters)
Development
npm install
npm run build
npm run test
npm run typecheckSee CONTRIBUTING.md for the full guide.
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Floodgate: common questions
- Is Floodgate MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Floodgate safety report
- How do I install Floodgate?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Floodgate need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Floodgate maintained?
- The last commit was 17 days ago (2026-09-11). The latest release is v0.1.1.
- What can I use instead of Floodgate?
- Servers from other publishers that do the same job: Token Optimizer MCP server.
Alternatives to Floodgate
Same job from other publishers: the closest match first, then the best rated.
- Token OptimizerContext-window optimization: caching, compression & smart file tools that cut tokens 60-90%.not reviewedEstablishedC