Cloudflare Workers MCP server: api-flow-analyzer
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Analyze complete API call flow and identify patterns
Array of API calls with metadata
Unique request flow identifier
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Analyze complete API call flow and identify patterns
| Argument | Type | Description |
|---|---|---|
| calls* | array | Array of API calls with metadata |
| flow_id* | string | Unique request flow identifier |
{
"type": "object",
"required": [
"calls",
"flow_id"
],
"properties": {
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"timestamp": {
"type": "number"
},
"duration_ms": {
"type": "number"
}
}
},
"description": "Array of API calls with metadata"
},
"flow_id": {
"type": "string",
"description": "Unique request flow identifier"
}
}
}Calculate estimated cost and latency savings from optimizations
| Argument | Type | Description |
|---|---|---|
| current_calls* | number | Current number of API calls |
| avg_latency_ms | number | Average latency per call in ms |
| optimized_calls* | number | Optimized number of calls |
| cost_per_call_usd | number | Cost per API call in USD |
{
"type": "object",
"required": [
"current_calls",
"optimized_calls"
],
"properties": {
"current_calls": {
"type": "number",
"description": "Current number of API calls"
},
"avg_latency_ms": {
"type": "number",
"description": "Average latency per call in ms"
},
"optimized_calls": {
"type": "number",
"description": "Optimized number of calls"
},
"cost_per_call_usd": {
"type": "number",
"default": 0.0001,
"description": "Cost per API call in USD"
}
}
}Identify duplicate or redundant API calls in a flow
| Argument | Type | Description |
|---|---|---|
| calls* | array | Array of API calls to analyze |
| threshold_pct | number | Similarity threshold percentage (0-100) |
{
"type": "object",
"required": [
"calls"
],
"properties": {
"calls": {
"type": "array",
"items": {
"type": "object"
},
"description": "Array of API calls to analyze"
},
"threshold_pct": {
"type": "number",
"default": 80,
"description": "Similarity threshold percentage (0-100)"
}
}
}Generate dependency graph of API calls showing call sequence and relationships
| Argument | Type | Description |
|---|---|---|
| calls* | array | Array of API calls with dependencies |
{
"type": "object",
"required": [
"calls"
],
"properties": {
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description": "Array of API calls with dependencies"
}
}
}Recommend batching opportunities for parallel API calls
| Argument | Type | Description |
|---|---|---|
| calls* | array | Array of API calls to optimize |
| batch_size_limit | number | Max items per batch |
{
"type": "object",
"required": [
"calls"
],
"properties": {
"calls": {
"type": "array",
"items": {
"type": "object"
},
"description": "Array of API calls to optimize"
},
"batch_size_limit": {
"type": "number",
"default": 50,
"description": "Max items per batch"
}
}
}Record and track an individual API call with metadata
| Argument | Type | Description |
|---|---|---|
| method* | string | HTTP method (GET, POST, etc.) |
| endpoint* | string | API endpoint URL |
| duration_ms* | number | Call duration in milliseconds |
| status_code* | number | HTTP status code |
| service_name | string | Source service identifier |
| response_size_bytes | number | Response payload size |
{
"type": "object",
"required": [
"method",
"endpoint",
"duration_ms",
"status_code"
],
"properties": {
"method": {
"type": "string",
"description": "HTTP method (GET, POST, etc.)"
},
"endpoint": {
"type": "string",
"description": "API endpoint URL"
},
"duration_ms": {
"type": "number",
"description": "Call duration in milliseconds"
},
"status_code": {
"type": "number",
"description": "HTTP status code"
},
"service_name": {
"type": "string",
"description": "Source service identifier"
},
"response_size_bytes": {
"type": "number",
"description": "Response payload size"
}
}
}