code-pattern-risk-scanner
Cloudflare Workers MCP server: code-pattern-risk-scanner
Should I use this
Quality & Safety
B
Findings (2)
- LOWin scan_patterns
- LOWin security_check
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~314Tokens (tool definitions)
~440 BTypical response size
Minimal attention impact (0.25% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"code-pattern-risk-scanner": {
"url": "https://api.lazy-mac.com/code-pattern-risk-scanner/mcp"
}
}
}Remote endpoints
https://api.lazy-mac.com/code-pattern-risk-scanner/mcpstreamable-httpWhat it can do
Tool inventory
Tools (5)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪scan_patterns(code, language)
Scan JS/TS code for 26 security and performance patterns
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "JS/TS code snippet to scan (max 50,000 chars)"
},
"language": {
"type": "string",
"description": "Language hint: javascript, typescript, jsx, tsx, etc."
}
},
"required": [
"code"
]
}⚪detect_antipatterns(code, severity, language)
Detect antipatterns with optional severity filter
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low"
]
},
"language": {
"type": "string"
}
},
"required": [
"code"
]
}🟢risk_score(code, language)
Calculate 0-100 risk score with severity breakdown
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"language": {
"type": "string"
}
},
"required": [
"code"
]
}🟢suggest_refactor(code, language)
Get prioritized step-by-step refactoring suggestions
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"language": {
"type": "string"
}
},
"required": [
"code"
]
}🟢security_check(code, language)
Security-focused scan returning vulnerable | at-risk | secure status
Input Schema
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"language": {
"type": "string"
}
},
"required": [
"code"
]
}Community
Evidence
Recent observations
verifiedversion not recorded5 tools
verifiedversion not recorded5 tools