wafer-map-mcp
Wafer Map MCP Server
Ein MCP (Model Context Protocol)-Server, der Analyse-Tools für Halbleiter-Wafer für KI-Assistenten bereitstellt. Diese Tools wurden für die Analyse von Halbleiter-Testdaten entwickelt und ermöglichen es KI-Agenten, wichtige technische Visualisierungsdiagramme wie Wafer-Maps, P-Charts, Trenddiagramme und statistische Analysen aus Roh-Testdaten korrekt zu erstellen.
Related MCP server: ML Research MCP
Vorschau
Binäre Map | Eigenschafts-Map | P-Chart |
|
|
|
Tools
Tool | Beschreibung |
| Vollständige Analyse in einem Aufruf: Zusammenfassung + binäre Map + alle PIN-Maps + P-Charts |
| Grundlegende Wafer-Zusammenfassung (Ausbeute, Pass/Fail-Anzahl, PIN-Spalten) |
| Binäre Pass/Fail-Wafer-Map (BIN=0 → türkis, sonst → schwarz) |
| Heatmap mit kontinuierlichen Werten für eine einzelne PIN-Spalte (blau → rot) |
| Normalverteilungsdiagramm pro Wafer für eine PIN-Spalte |
Datenformat
CSV oder ZIP (enthält genau eine CSV) mit den Spalten:
BIN, X, Y, WAFER_ID, PIN_1, PIN_2, ..., PIN_NBIN = 0→ pass, ansonsten failX,Y→ Die-Koordinaten auf dem Wafer-GitterPIN_*→ kontinuierliche Messwerte
Farbskala (IQR Robust Sigma)
Eigenschafts-Maps und P-Chart-Grenzen verwenden IQR-basierte Grenzen, um subtile Variationen sichtbar zu machen:
sigma = (P75 - P25) / 1.35
IQR_L = P50 - 6 × sigma
IQR_H = P50 + 6 × sigmaSchnellstart
Option A: Docker (empfohlen)
docker build -t wafer-mcp .
docker run -p 8001:8001 wafer-mcpDer Server ist nun unter http://localhost:8001/mcp verfügbar.
Um Ihre eigenen Datendateien zu analysieren, binden Sie ein Volume ein:
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: Lokales Python
Anforderungen: Python 3.10+
pip install -r requirements.txt
python server.pyBeispieldaten
Ein Beispieldatensatz ist im Projekt unter sample_data/sample_1.zip enthalten.
Ort | Pfad |
Lokal |
|
Docker |
|
Schneller Rauchtest (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 Konfiguration
Der Server verwendet Streamable HTTP-Transport, verwenden Sie daher die url-Form in claude_desktop_config.json:
{
"mcpServers": {
"wafer-map": {
"url": "http://localhost:8001/mcp"
}
}
}Schritte:
Starten Sie den MCP-Server (lokal oder Docker)
Fügen Sie die obige Konfiguration zu Claude Desktop hinzu
Starten Sie Claude Desktop neu
Bitten Sie Claude, eine Wafer-Datendatei zu analysieren — das richtige Tool wird automatisch ausgewählt
Tool-Parameter
run_wafer_analysis
Parameter | Typ | Standard | Beschreibung | |
| str | erforderlich | Pfad zur .csv- oder .zip-Datei | |
| list[str] | None | None | Teilmenge der zu plottenden PIN-Spalten; None = alle |
| int | 300 | Pixelgröße des Ausgabebildes |
get_wafer_info
Parameter | Typ | Standard | Beschreibung |
| str | erforderlich | Pfad zur .csv- oder .zip-Datei |
plot_wafer_bin
Parameter | Typ | Standard | Beschreibung |
| str | erforderlich | Pfad zur .csv- oder .zip-Datei |
| int | 300 | Pixelgröße des Ausgabebildes |
plot_wafer_property
Parameter | Typ | Standard | Beschreibung | |
| str | erforderlich | Pfad zur .csv- oder .zip-Datei | |
| str |
| Zu visualisierende PIN-Spalte | |
| int | 450 | Pixelgröße des Ausgabebildes | |
| float | None | None | Untere Grenze der Farbskala überschreiben |
| float | None | None | Obere Grenze der Farbskala überschreiben |
plot_pchart
Parameter | Typ | Standard | Beschreibung |
| str | erforderlich | Pfad zur .csv- oder .zip-Datei |
| str |
| Zu plottende PIN-Spalte |
| int | 300 | Pixelgröße des Ausgabebildes |
Projektstruktur
.
├── 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
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
List datasets, schemas, run APL queries, and use prompts for exploration, anomalies, and monitoring.
Renders interactive Chart.js charts and dashboards inline in AI conversations.
Renders interactive Chart.js charts and dashboards inline in AI conversations. Supports bar, line, area, pie, doughnut, scatter, and radar charts with multi-chart dashboard grids.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to access, analyze, and extract information from STDF-V4 semiconductor test data files, supporting metadata extraction, parametric analysis, yield calculations, and multi-site test data filtering with CSV/Excel export capabilities.2MIT
- AlicenseAqualityDmaintenanceProvides machine learning researchers with tools for creating publication-quality scientific visualizations, statistical plots, and 2D data representations. It streamlines the research workflow by enabling AI assistants to generate complex figures from CSV, JSON, or direct data inputs.89MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform statistical process control calculations using validated, deterministic tools such as control charts, capability analysis, and tolerance intervals.3MIT
- AlicenseAqualityCmaintenanceEnables AI agents to create data visualizations like bar charts, line charts, pie charts, scatter plots, and histograms, returning inline SVG or PNG files.5MIT


