HUB
Sign inSign up

myanees/sitespeed-mcp-server

By myanees

โ€ขUpdated about 1 year ago

this is the mcp server for sitespeed.

Image
Developer tools
Monitoring & observability
Web analytics
0

409

myanees/sitespeed-mcp-server repository overview

๐Ÿง  Sitespeed MCP Server

Docker Image: myanees/sitespeed-mcp-server:latest Base Image: sitespeedio/sitespeed.io:38.3.0

Language: Python 3 + FastMCP

๐Ÿงฑ Architecture

๐ŸŒ Sitespeed.io (Node.js) โžœ ๐Ÿ Python FastMCP Layer โžœ ๐Ÿค– MCP Client (Claude Desktop / VS Code / Custom Agent)

๐Ÿ“˜ Overview

The Sitespeed MCP Server provides an AI-accessible layer on top of Sitespeed.io , enabling performance testing, analysis, and insights via MCP-compatible clients (like Claude Desktop, VS Code MCP, or custom REST clients).

It exposes multiple tools (via FastMCP):

Tool NameDescription
run_sitespeedRun a Sitespeed test on a given URL
read_sitespeed_dataParse Sitespeed JSON results for a run
analyze_traceExtract long tasks from Chrome trace
analyze_networkSummarize network requests and domains
analyze_renderingIdentify layout and paint events
analyze_memoryDetect GC/memory pressure events

This allows seamless integration with LLMs and developer agents for automated web performance analysis.

docker run -it --rm
-v $(pwd)/sitespeed-results:/app/sitespeed-results
myanees/sitespeed-mcp-server:0.3

This launches the MCP server in stdio mode, ready to connect from clients like:

๐Ÿงฉ Claude Desktop (docker-mcp integration)

๐Ÿง  VS Code MCP client

๐Ÿงฐ Custom scripts using the FastMCP SDK

๐Ÿงช Example MCP Tool Usage

ActionDescription
run_sitespeed("https://www.emirates.com")Runs a performance test
read_sitespeed_data("run-20251011-123000")Reads stored JSON results
analyze_trace("run-20251011-123000")Extracts long tasks
analyze_network("run-20251011-123000")Summarizes network requests

๐Ÿ”ง Environment Variables

VariableDefaultDescription
SITESPEED_OUTPUT/app/sitespeed-resultsOutput directory for results

๐Ÿ”— Claude Desktop Integration

Add the following snippet to your claude_desktop_config.json (or .claude/config.json):

{ "mcpServers": { "sitespeed-mcp-server": { "type": "stdio", "command": "/usr/local/bin/docker", "args": [ "run", "-i", "--rm", "-v", "${workspaceFolder}/sitespeed-results:/app/sitespeed-results", "myanees/sitespeed-mcp-server:0.3" ], "env": {} } } }

Tag summary
Recent tags
Content type
Image
Digest
sha256:3583e1e2dโ€ฆ
Size
1 GB
Last updated
about 1 year ago
docker pull myanees/sitespeed-mcp-server:0.4