MCP Server
Genalyzer provides a Model Context Protocol (MCP) server that exposes spectral and code-density analysis tools to AI assistants and other MCP clients. Tools cover all five genalyzer analysis domains — Fourier, histogram, DNL, INL, and time-domain waveform — plus generators and a quantizer for end-to-end simulate-and-verify workflows.
Installation
pip install genalyzer[mcp]
The MCP server also requires the native libgenalyzer library. See Installation for build instructions.
Running the server
genalyzer-mcp
Or as a module:
python -m genalyzer.mcp.server
Claude Desktop configuration
{
"mcpServers": {
"genalyzer": {
"command": "genalyzer-mcp"
}
}
}
Tool inventory
All tools read .npy or .csv inputs (auto-detected by extension). Every analyze_* tool accepts a plot: bool = False flag; set to True to render an annotated PNG next to the input.
Tool |
Layer |
Purpose |
|---|---|---|
|
Generator |
Complex sinusoid |
|
Generator |
Real sinusoid |
|
Generator |
Linear ramp |
|
Generator |
AWGN |
|
Primitive |
Apply N-bit quantization |
|
Primitive |
FFT of time-domain data |
|
Primitive |
Metrics from pre-computed FFT |
|
Primitive |
Code-count histogram |
|
Primitive |
DNL from histogram |
|
Primitive |
INL from DNL |
|
Primitive |
Time-domain stats |
|
All-in-one |
Load → FFT → metrics (+ optional PNG) |
|
All-in-one |
Load → histogram → metrics (+ optional PNG) |
|
All-in-one |
Load → DNL → metrics (+ optional PNG) |
|
All-in-one |
Load → INL → metrics (+ optional PNG) |
|
All-in-one |
Time-domain analysis (+ optional PNG) |