Screwtape.ai MCP Server
Spend guardrails for AI agents: check payments, track budgets, catch duplicates, sign receipts.
Screwtape.ai scores 63 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: short README, no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "screwtape-screwtape": { "url": "https://screwtape.ai/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools 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
Screwtape.ai examples
Copy-paste examples that stop an AI agent from paying the wrong invoice. Each one calls the public Screwtape.ai API with an API key and does two things before money moves:
- Spend check: the line items and tax must add up to the total, and the invoice must match your evidence (purchase order, contract, approval email). You get a verdict and a signed receipt.
- Duplicate-invoice check: the same invoice, or the same vendor and amount within a few days, is flagged before the agent pays it twice.
The agent pays only when next_step.action is pass. Anything else (retry or escalate) means do not pay.
| Folder | Stack | Run |
|---|---|---|
curl/ | curl + jq | ./curl/check_payment.sh |
python/ | Python 3.9+, standard library only | python python/check_payment.py |
typescript/ | Node 18+, built-in fetch | cd typescript && npm i && npm start |
langchain/ | LangChain tool | python langchain/spend_tool.py |
crewai/ | CrewAI tool | python crewai/spend_tool.py |
openai-agents/ | OpenAI Agents SDK, guarded payment tool | python openai-agents/spend_guard.py |
Start in one minute
export SCREWTAPE_API_KEY=... # free key: https://screwtape.ai/signup/
python python/check_payment.py
Expected output (receipt ids differ per run):
first: verdict=pass action=pass reason=none duplicate=unique receipt=...
-> PAY
second: verdict=... action=escalate reason=duplicate_invoice duplicate=duplicate receipt=...
-> DO NOT PAY
wrong total: verdict=fail action=... reason=sum_mismatch duplicate=... receipt=...
-> DO NOT PAY
The one rule your agent needs
result = check_payment(invoice, evidence) # POST https://screwtape.ai/v1/duplicate
if result["next_step"]["action"] != "pass":
stop_and_escalate(result) # do not pay
Put the check inside the payment tool itself (see openai-agents/),
so the model cannot skip it.
API in brief
POST /v1/duplicate: spend check plus duplicate-invoice check (used by every example here).POST /v1/judge: verdict on any agent output, with deterministic checks (sum,required_fields,json_schema,regex,equals, ...). See checks.POST /v1/consensus: compare 2 to 16 agent answers before acting on them.POST /v1/receipts/verify: verify a signed receipt.- Auth:
Authorization: Bearer $SCREWTAPE_API_KEY. Add anIdempotency-Keyheader to make retries safe. - Full spec: openapi.json. Docs: screwtape.ai/docs.
MCP
Agents that speak MCP can connect to the hosted server at https://screwtape.ai/mcp (Streamable HTTP). A key is optional. The headline tool is payment_check (is this seller safe to pay?). Also judge, check_duplicate_invoice, and consensus.
For Cline and other coding agents, see llms-install.md.
Pricing
- Free: 3 calls per UTC day with no key, or 10 with a free key from https://screwtape.ai/signup/. Then $0.005 per call (pay-per-call).
- Sandbox Evaluation Pack: $100 for 2,000 checks.
- Enterprise pilot: support@screwtape.ai
Details: screwtape.ai/pricing.
License
MIT
Frequently asked questions
What is Screwtape.ai MCP Server?
Spend guardrails for AI agents: check payments, track budgets, catch duplicates, sign receipts.
How do I install Screwtape.ai 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. Screwtape.ai MCP Server connects to the remote endpoint https://screwtape.ai/mcp, so there is nothing to install locally.
Is Screwtape.ai MCP Server free and open source?
Yes. Screwtape.ai 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 Screwtape.ai MCP Server support remote (HTTP) connections?
Yes. Screwtape.ai MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Screwtape.ai MCP Server's trust score calculated?
Screwtape.ai MCP Server scores 63 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.