PeakInfer MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PeakInfer MCP Server detect drift between my code and runtime behavior"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PeakInfer MCP Server
Achieve peak inference performance in Claude Desktop and Claude Code.
PeakInfer helps you run AI inference at peak performance by correlating what no one else sees together: your code, runtime behavior, benchmarks, and evals.
The Problem
Your code says streaming: true. Runtime shows 0% actual streams. That's drift—and it's killing your latency.
Peak Inference Performance means: Improving latency, throughput, reliability, and cost without changing evaluated behavior.
Related MCP server: LUMINO MCP Server
Features
Drift Detection: Find mismatches between code declarations and runtime behavior
Runtime Connectors: Fetch events from Helicone and LangSmith
Benchmark Comparison: Compare your metrics to InferenceMAX benchmarks (15+ models)
Template Library: Access 43 optimization templates
Analysis History: Track and compare performance over time
Installation
Via npx (Recommended)
npx @kalmantic/peakinfer-mcpVia npm (Global)
npm install -g @kalmantic/peakinfer-mcp
peakinfer-mcpClaude Desktop Configuration
Add to ~/.config/claude/claude_desktop_config.json (macOS) or %APPDATA%\claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"peakinfer": {
"command": "npx",
"args": ["@kalmantic/peakinfer-mcp"],
"env": {
"HELICONE_API_KEY": "your-key-here",
"LANGSMITH_API_KEY": "your-key-here"
}
}
}
}Build from Source
git clone https://github.com/Kalmantic/peakinfer-mcp.git
cd peakinfer-mcp
npm install
npm run buildAvailable Tools
Runtime Data
Tool | Description |
| Fetch LLM events from Helicone |
| Fetch traces from LangSmith |
Benchmarks
Tool | Description |
| Get benchmark data for a model |
| Compare current analysis to historical baseline |
Templates
Tool | Description |
| List available optimization templates |
| Get details of a specific template |
Analysis
Tool | Description |
| Save analysis results to history |
Environment Variables
Variable | Description |
| API key for Helicone integration |
| API key for LangSmith integration |
Example Usage
In Claude Desktop or Claude Code:
Fetch the last 7 days of events from Helicone and identify any drift between my code and runtime behavior.Compare my current p95 latency to InferenceMAX benchmarks for gpt-4o.Show me optimization templates for improving throughput without changing model behavior.Resources
The server also exposes MCP resources:
peakinfer://templates- Optimization templates (43 total)peakinfer://benchmarks- InferenceMAX benchmark data (15+ models)peakinfer://history- Analysis run history
Prompts
Available prompt templates:
analyze-file- Analyze a file for LLM inference pointscompare-benchmarks- Compare your metrics to peak benchmarkssuggest-optimizations- Get optimization recommendations that preserve behavior
The Four Dimensions
PeakInfer analyzes every inference point across 4 dimensions:
Dimension | What We Find |
Latency | Missing streaming, blocking calls, p95 vs benchmark gaps |
Throughput | Sequential bottlenecks, batch opportunities |
Reliability | Missing retries, timeouts, fallbacks |
Cost | Right-sized model selection, token optimization |
Troubleshooting
Server not appearing in Claude Desktop
Check the path to
dist/index.jsis absoluteVerify
npm run buildcompleted successfullyRestart Claude Desktop after config changes
API key errors
Verify API keys are set in config
envsectionCheck keys are valid at provider's dashboard
Ensure no trailing whitespace in key values
Links
License
Apache-2.0
Available Tools
8 toolsanalyzeA
Analyze code for LLM inference issues using PeakInfer engine. Returns detailed report on latency, cost, throughput, and reliability with actionable fixes.
Inputs: path, files, fixes, benchmark.
compare_to_baselineC
Compare current analysis results to a historical baseline
Inputs: current_analysis (required), baseline_path.
get_helicone_eventsA
Fetch LLM runtime events from Helicone for drift detection analysis
Inputs: days, limit, api_key.
get_inferencemax_benchmarkA
Get InferenceMAX benchmark data for a specific model to compare performance
Inputs: model (required), hardware, framework.
get_langsmith_tracesB
Fetch LLM traces from LangSmith for runtime analysis
Inputs: days, limit, api_key.
get_templateB
Get details of a specific optimization template
Inputs: name (required).
list_templatesB
List available PeakInfer optimization templates
Inputs: category.
save_analysisB
Save analysis results to PeakInfer history
Inputs: analysis (required), path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools target distinct actions and resources. The only potential confusion is between get_helicone_events and get_langsmith_traces, but their descriptions clearly indicate different source platforms, making them distinguishable.
Tool names follow a consistent verb_noun snake_case pattern with get_*, list_*, save_*, and compare_to_*. The exception is 'analyze' which lacks an explicit object, but its purpose is still clear from the description.
Eight tools is a well-scoped set that covers code analysis, external data retrieval, benchmarking, template management, and persistence without unnecessary bloat. It fits the 3-15 tool range comfortably.
The set covers analysis, saving, comparison, and template browsing, but lacks any way to retrieve or list previously saved analyses. This creates a dead end after saving, as agents cannot access historical results directly.
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for VC pitch-deck scoring, thesis-fit matching, and deal-flow management.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive, AI-powered performance analysis and monitoring platform for OpenShift/Kubernetes clusters. This project provides Model Context Protocol (MCP) servers for analyzing etcd, network, and OVN-Kubernetes components with deep performance insights, automated root cause analysis, and actionable recommendations.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceAn open source MCP server empowering SREs with intelligent observability, predictive analytics, and AI-driven automation across Kubernetes, OpenShift, and Tekton environments.78 PyPI11Apache 2.0

Leeroopedia MCP Serverofficial
AlicenseAqualityBmaintenanceMCP server that turns AI coding agents into ML/AI experts by providing best-practice knowledge for fine-tuning, inference optimization, agent building, and more.814MIT- AlicenseAqualityDmaintenanceMCP server for autonomous MLOps incident response, enabling drift detection, deployment history analysis, and human-approved rollback execution via gated tools.7MIT