
PYRESEC - AI Code Security Auditing
Pay-per-scan code security audits for agents, paid in USDC through x402
- Pricing
- Paid
- Platforms
- API, CLI
- Runs
- Remotely
- Version
- 2.0.1
- Listing updated
- 1 day ago
About PYRESEC - AI Code Security Auditing
PYRESEC - AI Code Security Auditing is a paid MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
Instead of an account or subscription, PYRESEC charges per request. A call to an audit endpoint first returns a 402 Payment Required response with the amount and recipient, the client pays in USDC on Base, then resubmits the request with an X-PAYMENT header as proof.
There are three tiers. A quick scan costs $0.01 and returns the top three findings with CWE IDs and line numbers. A deep audit costs $0.50 and adds OWASP Top 10 analysis, dependency (SCA) scanning, logic-flaw detection and Solidity gas optimisation. A remediation run costs $5 and returns patched code with change explanations and security notes.
Besides the MCP endpoint, the README documents a Python x402 client, a plain curl flow and a GitHub Action for CI pipelines, plus Swagger and OpenAPI pages on the hosted instance.
Install
Run in a terminal
claude mcp add --transport http pyresec-agent https://pyresec-agent-519576377065.us-central1.run.app/mcpAdd to Settings → Connectors → Add custom connector
https://pyresec-agent-519576377065.us-central1.run.app/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"pyresec-agent": {
"url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"pyresec-agent": {
"type": "http",
"url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pyresec-agent": {
"serverUrl": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pyresec-agent": {
"type": "http",
"url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}What it does
- Per-request pricing
- Three fixed prices from $0.01 to $5.00 with no subscription or account.
- x402 USDC payments
- Payment proof travels in an X-PAYMENT header after a 402 response.
- Quick scan tier
- Returns the top three findings by severity with CWE IDs and line numbers.
- Deep audit tier
- Covers OWASP Top 10, SCA dependency scanning, logic flaws and Solidity gas optimisation.
- Remediation tier
- Returns fully patched code with explanations of each change.
- CI integration
- A GitHub Action runs a scan tier against a code path in a pipeline.
Good for
- Spot-check a snippet for SQL injection before committing
- Audit a repository's dependencies and logic flaws before a release
- Let an autonomous agent pay for and run security scans without human billing setup
- Get auto-patched code for a flagged vulnerability
- Review Solidity contracts for security and gas issues
Pricing
Paid
$0.01 quick scan, $0.50 deep audit, $5.00 remediation, paid per request in USDC
Prices change. Check pyresec-agent-519576377065.us-central1.run.app before you buy.
PYRESEC - AI Code Security Auditing FAQ
How much does a scan cost?
The README lists $0.01 for a quick scan, $0.50 for a deep audit and $5.00 for remediation.
Do I need an account or API key?
No. Payment is made per request in USDC on Base using the x402 protocol.
How do I connect it from an MCP client?
Add the remote URL https://pyresec-agent-519576377065.us-central1.run.app/mcp as a server entry.
Can it run in CI?
Yes, the README shows a GitHub Action that runs a chosen tier against a code path.
Is PYRESEC - AI Code Security Auditing free?
No. PYRESEC - AI Code Security Auditing is a paid product.
How do I add PYRESEC - AI Code Security Auditing to Claude Code?
Run this command in your terminal: claude mcp add --transport http pyresec-agent https://pyresec-agent-519576377065.us-central1.run.app/mcp
What are the best alternatives to PYRESEC - AI Code Security Auditing?
The closest alternatives to PYRESEC - AI Code Security Auditing are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to PYRESEC - AI Code Security Auditing

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools