wafer-map-mcp
Provides Docker-based deployment for easy setup of the wafer analysis MCP server, with volume mounting support for user data files.
Click on "Install 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., "@wafer-map-mcpanalyze the wafer data in /data/wafer_123.csv and show me the binary map and P-charts for all PINs"
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.
Wafer Map MCP Server
An MCP (Model Context Protocol) server that exposes semiconductor wafer analysis tools to AI assistants such as Claude Desktop.
Given a wafer test data file (CSV or ZIP), it renders:
Yield summary statistics
Binary pass/fail wafer map
Continuous-value PIN property heatmaps
Normal probability plots (P-charts) per wafer
All tools are accessible via a single HTTP endpoint, so any MCP-compatible client can use them.
Preview
Binary Map | Property Map | P-Chart |
|
|
|
Tools
Tool | Description |
| Full analysis in one call: summary + binary map + all PIN maps + P-charts |
| Basic wafer summary (yield, pass/fail counts, PIN columns) |
| Binary pass/fail wafer map (BIN=0 → teal, else → black) |
| Continuous-value heatmap for a single PIN column (blue → red) |
| Normal probability plot per wafer for a PIN column |
Data Format
CSV or ZIP (containing exactly one CSV) with columns:
BIN, X, Y, WAFER_ID, PIN_1, PIN_2, ..., PIN_NBIN = 0→ pass, otherwise failX,Y→ die coordinates on the wafer gridPIN_*→ continuous measurement values
Colour Scale (IQR Robust Sigma)
Property maps and P-chart boundaries use IQR-based bounds to make subtle variations visible:
sigma = (P75 - P25) / 1.35
IQR_L = P50 - 6 × sigma
IQR_H = P50 + 6 × sigmaQuick Start
Option A: Docker (recommended)
docker build -t wafer-mcp .
docker run -p 8001:8001 wafer-mcpThe server is now available at http://localhost:8001/mcp.
To analyze your own data files, mount a volume:
docker run -p 8001:8001 -v /absolute/path/to/data:/data wafer-mcp
# then pass file_path="/data/your_wafer.zip" when calling toolsOption B: Local Python
Requirements: Python 3.10+
pip install -r requirements.txt
python server.pySample Data
A sample dataset is bundled with the project at sample_data/sample_1.zip.
Location | Path |
Local |
|
Docker |
|
Quick smoke test (Docker):
# inside the container the sample lives at /app/sample_data/sample_1.zip
# call any tool with this file_path to verify everything worksClaude Desktop Configuration
The server uses Streamable HTTP transport, so use the url form in claude_desktop_config.json:
{
"mcpServers": {
"wafer-map": {
"url": "http://localhost:8001/mcp"
}
}
}Steps:
Start the MCP server (local or Docker)
Add the config above to Claude Desktop
Restart Claude Desktop
Ask Claude to analyze a wafer data file — it will automatically pick the right tool
Tool Parameters
run_wafer_analysis
Param | Type | Default | Description |
| str | required | Path to .csv or .zip file |
| list[str] | None | None | Subset of PIN columns to plot; None = all |
| int | 300 | Output image pixel size |
get_wafer_info
Param | Type | Default | Description |
| str | required | Path to .csv or .zip file |
plot_wafer_bin
Param | Type | Default | Description |
| str | required | Path to .csv or .zip file |
| int | 300 | Output image pixel size |
plot_wafer_property
Param | Type | Default | Description |
| str | required | Path to .csv or .zip file |
| str |
| PIN column to visualise |
| int | 450 | Output image pixel size |
| float | None | None | Override lower bound of colour scale |
| float | None | None | Override upper bound of colour scale |
plot_pchart
Param | Type | Default | Description |
| str | required | Path to .csv or .zip file |
| str |
| PIN column to plot |
| int | 300 | Output image pixel size |
Project Structure
.
├── server.py # MCP server entry point
├── requirements.txt # Python dependencies
├── Dockerfile # Container definition
├── sample_data/
│ └── sample_1.zip # Bundled sample wafer dataset
├── tools/
│ ├── workflow/
│ │ └── analyze_wafer.py # Orchestrates full analysis
│ ├── information_read/
│ │ └── read_wafer_info.py # Parse CSV/ZIP and compute yield
│ ├── wafer_map/
│ │ ├── wafer_bin_binary_plot.py # Binary map renderer (PySide6)
│ │ └── wafer_item_property_plot.py # Property heatmap renderer (PySide6)
│ └── statistic_plot/
│ └── pchart_plot.py # P-chart renderer (matplotlib)
└── pchart/
└── PchartReportWidget.py # Legacy Qt widget (reference only)Tech Stack
MCP: FastMCP — Streamable HTTP transport
Wafer map rendering: PySide6 offscreen QPainter
P-chart rendering: matplotlib + scipy + statsmodels
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlanTseng1018/LLM-Agent-Yield-Analysis-Tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server


