wafer-map-mcp

wafer-map-mcp

Exposes semiconductor wafer analysis tools including wafer maps, P-charts, and statistical plots, enabling AI assistants to visualize and analyze wafer test data.

Category
访问服务器

README

Wafer Map MCP Server

An MCP (Model Context Protocol) server that exposes semiconductor wafer analysis tools to AI assistants. These tools are designed for semiconductor test data analysis, enabling AI agents to correctly generate key engineering visualization charts such as wafer maps, P-charts, trend plots, and statistical analysis figures from raw test data.

Preview

Binary Map Property Map P-Chart
Binary Map Property Map P-Chart

Tools

Tool Description
run_wafer_analysis Full analysis in one call: summary + binary map + all PIN maps + P-charts
get_wafer_info Basic wafer summary (yield, pass/fail counts, PIN columns)
plot_wafer_bin Binary pass/fail wafer map (BIN=0 → teal, else → black)
plot_wafer_property Continuous-value heatmap for a single PIN column (blue → red)
plot_pchart 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_N
  • BIN = 0 → pass, otherwise fail
  • X, Y → die coordinates on the wafer grid
  • PIN_* → 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 × sigma

Quick Start

Option A: Docker (recommended)

docker build -t wafer-mcp .
docker run -p 8001:8001 wafer-mcp

The 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 tools

Option B: Local Python

Requirements: Python 3.10+

pip install -r requirements.txt
python server.py

Sample Data

A sample dataset is bundled with the project at sample_data/sample_1.zip.

Location Path
Local ./sample_data/sample_1.zip
Docker /app/sample_data/sample_1.zip

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 works

Claude 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:

  1. Start the MCP server (local or Docker)
  2. Add the config above to Claude Desktop
  3. Restart Claude Desktop
  4. Ask Claude to analyze a wafer data file — it will automatically pick the right tool

Tool Parameters

run_wafer_analysis

Param Type Default Description
file_path str required Path to .csv or .zip file
pin_columns list[str] | None None Subset of PIN columns to plot; None = all
target_size int 300 Output image pixel size

get_wafer_info

Param Type Default Description
file_path str required Path to .csv or .zip file

plot_wafer_bin

Param Type Default Description
file_path str required Path to .csv or .zip file
target_size int 300 Output image pixel size

plot_wafer_property

Param Type Default Description
file_path str required Path to .csv or .zip file
pin_column str "PIN_1" PIN column to visualise
target_size int 450 Output image pixel size
data_l float | None None Override lower bound of colour scale
data_h float | None None Override upper bound of colour scale

plot_pchart

Param Type Default Description
file_path str required Path to .csv or .zip file
pin_column str "PIN_1" PIN column to plot
target_size 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选