AI API Cost Firewall & Rate Limiter

io.github.AnsariiPublished by GitHub account Ansariiv1.0.0Updated Oct 25, 2026

Token guard and rate limiter preventing runaway API cost spikes for OpenAI and Anthropic.

VerifiedStreamable HTTPWeb executableAI & ML

Overview

AI-generated overview

A remote MCP endpoint that acts as a token guard and rate limiter to prevent runaway OpenAI and Anthropic API cost spikes.

What you can do
Guards API usage by limiting tokens and request rates for OpenAI and Anthropic calls, aiming to stop runaway cost spikes. No tool list is published, so the exact operations an assistant can invoke are not documented; the description frames it as a cost-control layer rather than a data or content service.
When to use it
Worth considering when an assistant makes OpenAI or Anthropic API calls and you want a guard against unexpected token usage or cost spikes. Not useful if you need documented tools for other tasks.
Requirements
A remote streamable HTTP endpoint; no packages, environment variables, headers or authentication are declared. Network access to the hosted endpoint is required.
Before you install
No authentication is declared, so check who can reach the endpoint and what it does with the API traffic it guards. No tool list or README is available, so verify its behavior before relying on it for cost control.

Installation

In SourceWeft

  1. Open AI API Cost Firewall & Rate Limiter in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Ansarii%2Fmcp-rate-limiter/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "ai-api-cost-firewall-rate-limiter": {
      "type": "http",
      "url": "https://neon_innovation_lab--mcp-rate-limiter.apify.actor/mcp"
    }
  }
}

README

This repository has no README.

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

60% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.