@mhdd_24/api-latency-mcp
v1.0.0
Published
Analyze endpoint response times
Maintainers
Readme
@mhdd_24/api-latency-mcp
Analyze endpoint response times.
Same architecture as @mhdd_24/sublime-mcp.
Full documentation: docs/WIKI.md
How it works (30 seconds)
You (chat) → MCP client → api-latency-mcp → API Latency APIs / CLIs / local toolsPrerequisites
| Requirement | Notes | |-------------|--------| | Node.js 18+ | ESM TypeScript MCP server | | Credentials / CLIs | See environment variables below |
Install
Option A — npm (after publish)
npm install -g @mhdd_24/api-latency-mcpOption B — npx
npx @mhdd_24/api-latency-mcpOption C — clone and build
git clone https://github.com/Mhdd-24/API-Latency-MCP.git
cd API-Latency-MCP
npm install
npm run build
node dist/index.jsConfigure Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"apilatency": {
"command": "npx",
"args": ["-y", "@mhdd_24/api-latency-mcp"],
"env": {
"PROJECT_ROOT": "..."
}
}
}
}Local development:
{
"command": "node",
"args": ["/absolute/path/to/API-Latency-MCP/dist/index.js"]
}Environment variables
| Variable | Description |
|----------|-------------|
| PROJECT_ROOT | Default project/repository root |
Tools
| Tool | Description |
|------|-------------|
| apilatency_status | Health check for API Latency MCP. |
| apilatency_probe | Measure latency for a URL (N requests). |
| apilatency_compare | Compare latency of two URLs. |
License
ISC
