io.github.lazymac2x/api-flow-analyzer
Official6 toolsby lazymac2x · JavaScript
Cloudflare Workers MCP server: api-flow-analyzer
Analyzes API request flows and traffic patterns in Cloudflare Workers.
Captured live from the server via tools/list.
track_call
Record and track an individual API call with metadata
Parameters (6)
- methodstringrequired
HTTP method (GET, POST, etc.)
- endpointstringrequired
API endpoint URL
- duration_msnumberrequired
Call duration in milliseconds
- response_size_bytesnumber
Response payload size
- status_codenumberrequired
HTTP status code
- service_namestring
Source service identifier
analyze_flow
Analyze complete API call flow and identify patterns
Parameters (2)
- callsarrayrequired
Array of API calls with metadata
- flow_idstringrequired
Unique request flow identifier
detect_redundancy
Identify duplicate or redundant API calls in a flow
Parameters (2)
- callsarrayrequired
Array of API calls to analyze
- threshold_pctnumber
Similarity threshold percentage (0-100)
suggest_batching
Recommend batching opportunities for parallel API calls
Parameters (2)
- callsarrayrequired
Array of API calls to optimize
- batch_size_limitnumber
Max items per batch
calculate_savings
Calculate estimated cost and latency savings from optimizations
Parameters (4)
- current_callsnumberrequired
Current number of API calls
- optimized_callsnumberrequired
Optimized number of calls
- cost_per_call_usdnumber
Cost per API call in USD
- avg_latency_msnumber
Average latency per call in ms
get_dependency_graph
Generate dependency graph of API calls showing call sequence and relationships
Parameters (1)
- callsarrayrequired
Array of API calls with dependencies
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"api-flow-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.lazy-mac.com/api-flow-analyzer/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.