Skip to main content

Fleet-wide shared rate limiter for A2A + multi-MCP deployments. Most MCP servers rate-limit independently — a hostile agent hitting 10 MCPs gets 10x quota. This MCP is the shared counter: every MCP checks here before allowing a call. Sliding window + concurrency grants + signed enforcement attestations. By MEOK AI Labs.

Project description

Agent Rate Limiter MCP

Buy Starter — £29/mo

Signed attestations + unlimited audits + email support. 👉 Subscribe at meok.ai — instant HMAC signing key + Stripe-managed billing.

Free tier remains MIT-licensed and zero-config. Upgrade only when you need signed compliance artefacts for audit.

MCP server for agent rate limiter mcp operations

PyPI License: MIT MEOK AI Labs

Overview

Agent Rate Limiter MCP provides AI-powered tools via the Model Context Protocol (MCP).

Tools

Tool Description
acquire Request a rate-limit slot for an agent action.
release Release a rate-limit slot. Doesn't refund tokens in the sliding window (those
status Inspect usage. If agent_id is empty, returns tenant-wide summary.
set_quota Override the default quota for a (tenant, agent, operation) tuple. Pro+ only.
reset_counters Clear counters for a tenant (or a specific agent within a tenant). Pro+ only.
sign_rate_limit_attestation Emit a cryptographically signed attestation of rate-limit enforcement over a

Installation

pip install meok-agent-rate-limiter-mcp

Usage with Claude Desktop

Add to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "agent-rate-limiter-mcp": {
      "command": "python",
      "args": ["-m", "meok_agent_rate_limiter_mcp.server"]
    }
  }
}

Usage with FastMCP

from mcp.server.fastmcp import FastMCP

# This server exposes 6 tool(s) via MCP
# See server.py for full implementation

License

MIT © MEOK AI Labs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_rate_limiter_mcp-1.0.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_rate_limiter_mcp-1.0.3-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file agent_rate_limiter_mcp-1.0.3.tar.gz.

File metadata

  • Download URL: agent_rate_limiter_mcp-1.0.3.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for agent_rate_limiter_mcp-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fd1e3942bdf26938ea74e3af539c252de94722f1e5b27953957d51c6894902df
MD5 be65e37ebb9682d1c0799a387a657628
BLAKE2b-256 f2220a3724f3897b718ed84d4c91d2c6b186a9efb5198842f4ad06bded91176c

See more details on using hashes here.

File details

Details for the file agent_rate_limiter_mcp-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_rate_limiter_mcp-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 99408eb2cb293ef60872d1a33050868728a696a542d20cb48d0b7acf75724f2b
MD5 958cd3dd50b8c544f2376dcf287c5b40
BLAKE2b-256 876528b01077e9f524bd7f2c8038959dec461e89592a12c61150e36e58e525e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page