Polar Signals MCP
Polar Signals MCP lets engineering agents inspect continuous profiling projects and performance data to diagnose regressions and optimization opportunities.
Verdict
Common use cases
- Diagnose CPU hotspots during incident response
- Compare memory profiles before and after deploy
- Track goroutine leaks in production services
- Audit cloud spend by profiling resource usage
- Generate performance reports for sprint reviews
Integration
- Vendor
- Polar Signals MCP
- Category
- other
- Auth
- API_KEY
- Composio slug
polar_signals_mcp
Tools
Setup
Setup guide
- 11. In Switchy, open Settings and navigate to the Integrations tab. 2. Search for Polar Signals MCP and click Connect. 3. Log into your Polar Signals account and generate a new API key with read permissions for profiling data. 4. Paste the API key into Switchy's connection dialog and click Authorize. 5. Switchy confirms the connection and shows Polar Signals MCP as active. 6. Open any Project, type '@Polar Signals' in the chat, and ask it to retrieve the latest CPU profile for a specific service or time range. 7. The MCP returns profiling data inline — verify you see flamegraph summaries or function-level metrics. 8. If the response is empty, confirm your API key has the correct scope and your Polar Signals account contains recent profiling data.
What teammates see: by default, memories from Polar Signals MCP are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Find CPU Hotspots
@Polar Signals retrieve the most recent CPU profile for the api-gateway service and list the top three functions by CPU time.
Compare Deploy Profiles
@Polar Signals compare memory profiles for the checkout service between yesterday at 14:00 UTC and today at 14:00 UTC, highlighting any functions with increased allocation.
Audit Goroutine Count
@Polar Signals show the goroutine count trend for the worker-pool service over the past six hours and flag any sustained increases.
Generate Weekly Report
@Polar Signals generate a summary of CPU and memory usage for all services from the past seven days, noting any anomalies or spikes.
Explain Flamegraph Section
@Polar Signals retrieve the latest CPU flamegraph for the data-pipeline service and explain the call stack under the 'processRecords' function.
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@polar-signals show me CPU profiling data for the checkout service over the last hour
Based on recent profiling data, the checkout service spent 42% of CPU time in database query execution, 28% in JSON serialization, and 18% in authentication middleware. The top function by self-time was `validatePaymentToken()` at 8.3% CPU. Peak usage occurred at 14:23 UTC with 89% utilization across 4 cores. This is illustrative output reflecting typical continuous profiling metrics.
This example shows how the MCP surfaces performance bottlenecks from continuous profiling. Requires API key with read access to profiling data. The granularity and retention window depend on your Polar Signals plan — free tiers may have limited historical data.
@polar-signals compare memory allocation patterns between version 2.1.4 and 2.1.5 of the API gateway
Version 2.1.5 shows a 34% increase in heap allocations in the request routing layer compared to 2.1.4. The `parseHeaders()` function now allocates 2.1 MB per 1000 requests versus 1.6 MB previously. Garbage collection frequency increased from every 8.2 seconds to every 5.7 seconds under equivalent load. This comparison reflects how profiling data would highlight regression patterns between deployments.
Demonstrates version-to-version analysis for performance regression detection. Requires both versions to have been profiled during their runtime. The MCP can only compare data that exists in your Polar Signals account — ensure continuous profiling was active during both deployments.
@polar-signals identify which microservices are causing the most lock contention in production right now
Current lock contention analysis shows the inventory-service leads with 127 ms average wait time on `stockMutex`, affecting 23% of requests. The order-processor follows at 89 ms on database connection pooling locks. The user-session service shows minimal contention at 4 ms. These figures illustrate how real-time profiling data would surface concurrency bottlenecks across your service mesh.
This synthesis example pairs profiling metrics with AI reasoning to prioritize optimization work. Accuracy depends on profiling agent coverage — services without instrumentation won't appear. Lock contention visibility requires profilers that capture synchronization primitives, which may need specific configuration.
Use-case deep-dives
When continuous profiling beats ad-hoc debugging for small teams
A 3-engineer backend team ships a new feature and latency spikes 40% in production. Without profiling data, they're guessing which service is the bottleneck. Polar Signals MCP gives them CPU and memory profiles across their entire stack without redeploying or adding instrumentation. The team can ask Switchy to compare profiles before and after the deploy, identify the hot path, and link it to the commit that introduced the regression. This works best when you're already running Polar Signals' agent in production—if you're not collecting profiles yet, the MCP has nothing to query. For teams under 10 engineers who treat performance as a first-class concern, this turns profiling from a specialist skill into a standup conversation.
Profiling data surfaces compute waste faster than dashboards alone
A 15-person SaaS team is burning $8k/month on cloud compute and needs to cut 30% before next quarter. Their observability stack shows which services are expensive, but not why. Polar Signals MCP lets them query flame graphs and CPU profiles directly from Switchy, asking questions like 'which functions are using the most CPU in our billing service' or 'where are we allocating memory we don't need'. The MCP requires API key auth, so any team member with Polar Signals access can run these queries without SSHing into servers or learning pprof syntax. This scenario assumes you're already profiling continuously—if you only profile on-demand, the MCP's value drops to near zero. Best fit: teams with steady production load who want profiling to be a shared capability, not a DevOps bottleneck.
Live profiling queries during outages when every second counts
A 6-person on-call rotation is managing a customer-facing API that serves 2 million requests per day. When an incident fires at 2am, the engineer on duty needs to know if the problem is a code regression, a dependency, or infrastructure. Polar Signals MCP lets them pull live profiling data into Switchy and ask 'what changed in the last hour' or 'which goroutines are blocked right now' without switching tools or waiting for a senior engineer to interpret flame graphs. The trade-off: this only helps if your profiling agent is already deployed and collecting data in real time. If you're profiling manually or only in staging, the MCP won't have the data you need when the pager goes off. For teams running continuous profiling in production, this turns incident response from a specialist task into a shared capability across the rotation.
Frequently asked
What does the Polar Signals MCP do in Switchy?
It connects your Switchy workspace to Polar Signals' continuous profiling platform, letting AI agents query performance data, flame graphs, and resource usage patterns across your infrastructure. Useful when debugging production issues or optimizing code paths without leaving your AI workflow.
Do I need admin access to set up the Polar Signals MCP?
You need an API key from your Polar Signals account, which typically requires admin or developer permissions to generate. The key authenticates read access to profiling data — check with your infrastructure team if you don't have direct access to the Polar Signals dashboard.
Can the MCP trigger new profiling sessions or change sampling rates?
No. This integration is read-only for querying existing profiling data. You still configure profiling agents and sampling rates directly in Polar Signals. The MCP lets AI agents surface insights from data that's already being collected, not control the collection itself.
Why use this instead of just opening the Polar Signals dashboard?
The MCP lets AI agents correlate profiling data with logs, metrics, or incident timelines without manual copy-paste. If you're investigating a latency spike, the agent can pull flame graphs and CPU profiles inline with your conversation instead of you switching tabs and screenshotting charts.
Who on the team should connect the Polar Signals MCP?
Whoever owns production observability or has access to your Polar Signals API keys — usually a platform engineer or SRE. Once connected, any Switchy user can ask questions about profiling data, but the initial setup requires infrastructure credentials.