Skip to main content
Glama

KiCad MCP Server

by lamaalrajih

identify_circuit_patterns

Analyze KiCad schematics to detect common circuit blocks like power supplies, amplifiers, filters, and digital interfaces. Streamlines design review and troubleshooting for electronic projects.

Instructions

Identify common circuit patterns in a KiCad schematic.

This tool analyzes a schematic to recognize common circuit blocks such as:

  • Power supply circuits (linear regulators, switching converters)
  • Amplifier circuits (op-amps, transistor amplifiers)
  • Filter circuits (RC, LC, active filters)
  • Digital interfaces (I2C, SPI, UART)
  • Microcontroller circuits
  • And more

Args: schematic_path: Path to the KiCad schematic file (.kicad_sch) ctx: MCP context for progress reporting

Returns: Dictionary with identified circuit patterns

Input Schema

NameRequiredDescriptionDefault
ctxYes
schematic_pathYes

Input Schema (JSON Schema)

{ "$defs": { "Context": { "description": "Context object providing access to MCP capabilities.\n\nThis provides a cleaner interface to MCP's RequestContext functionality.\nIt gets injected into tool and resource functions that request it via type hints.\n\nTo use context in a tool function, add a parameter with the Context type annotation:\n\n```python\n@server.tool()\ndef my_tool(x: int, ctx: Context) -> str:\n # Log messages to the client\n ctx.info(f\"Processing {x}\")\n ctx.debug(\"Debug info\")\n ctx.warning(\"Warning message\")\n ctx.error(\"Error message\")\n\n # Report progress\n ctx.report_progress(50, 100)\n\n # Access resources\n data = ctx.read_resource(\"resource://data\")\n\n # Get request info\n request_id = ctx.request_id\n client_id = ctx.client_id\n\n return str(x)\n```\n\nThe context parameter name can be anything as long as it's annotated with Context.\nThe context is optional - tools that don't need it can omit the parameter.", "properties": {}, "title": "Context", "type": "object" } }, "properties": { "ctx": { "$ref": "#/$defs/Context", "title": "Ctx" }, "schematic_path": { "title": "Schematic Path", "type": "string" } }, "required": [ "schematic_path", "ctx" ], "type": "object" }

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/lamaalrajih/kicad-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server