Altium

Design and media

Altium Model Context Protocol server and Altium API script.

Your AI app calls the Altium MCP server, which does the work through tools like get_output_job_containers, run_output_jobs, get_outjob_settings and create_outjob and sends the result back to the chat.

About Altium

Altium is a community MCP server from coffeenmusic, filed in our directory under design and media. Altium Model Context Protocol server and Altium API script.

The README for Altium lists tools such as get_output_job_containers, run_output_jobs, get_outjob_settings and create_outjob, which your AI app can call once the server is connected.

At a glance

Publisher
coffeenmusic (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
242

Tools Altium gives your AI app

  • get_output_job_containersReads all available output containers from the .OutJob at outjobpath (a full path, optional) or, without one, from the first OutJob open in a project.
  • run_output_jobsPass a list of output job container names to run any number of them, from the .OutJob at outjobpath or the first open one. The OutJob's project must be open in
  • get_outjob_settingsRead any .OutJob file from disk (no Altium needed, the OutJob does not have to be open) and return its containers (output paths, file name expression, add-to-pr
  • create_outjob, editoutjob: Create an OutJob (from one of your OutJobs as a template, or empty) and add it to a project; change its containers (add a PDF or generated-files c
  • list_open_documentsList the documents open in Altium with their path, kind, whether they have unsaved changes and which one is in front.
  • reload_documentClose an open document and open it again from disk, e.g. after the file was replaced outside Altium (which otherwise saves its own copy over it). A document wit
  • get_project_infoFocused project's parameters, documents with their state (closed / open / modified = unsaved changes in memory), schematic sheet count and variants with their v
  • preview_ecoWhat Design > Update PCB would change, as data, without running it: components to add, remove or change (designator, footprint, comment), nets to add, remove or
  • compare_netlistCompile a project and compare its netlist with a saved snapshot: the safety net for editing sheets in place. Lists nets that gained or lost pins, pins moved bet
  • get_project_componentsThe components of the compiled project with their schematic Comment, footprint, library reference and sheet (optionally all parameters, or only the ones you nam
  • get_erc_violationsCompile a project in memory (nothing is saved) and list compiler/ERC violations with their level (fatal / error / warning). Give projectpath (a .PrjPcb, opened
  • get_board_summaryFabrication-oriented summary of the focused PCB in mm: board outline (bounding box, size, vertices) and origin, dimension objects, vias by hole size, components
  • get_component_primitivesEvery primitive of the given components with its layer (pads with size and solder/paste mask expansion, arcs, tracks, texts). Catches footprints that were flipp
  • get_all_designatorsGet a list of all component designators in the current board.
  • get_all_component_property_namesGet a list of all available component property names.
  • get_component_property_valuesGet the values of a specific property for all components.
  • get_component_dataGet detailed data for specific components by designator.
  • get_component_pinsGet pin information for specified components.
  • get_schematic_dataGet schematic data for specified components.
  • create_schematic_symbol(YouTube): Passes pin list with pin type & coordinates to Altium script. Supports multi-part symbols (e.g. quad op-amps) via a partcount parameter and an ownerp
  • get_symbol_primitivesInventory a .SchLib (every symbol with per-type primitive counts) or dump one symbol's complete geometry (all graphics + pin details, in mils; symbolname="" dum
  • create_symbols_batchCreate or edit many symbols in one script run from a plain-text spec file (bulk imports/migrations) - far faster and more robust than one create call per symbol
  • build_schematicBuild a wired schematic on a new sheet from a circuit description: parts from a .SchLib (full path; .IntLib is not supported), wires, junctions, net labels, pow
  • check_schematicCheck saved sheets for drafting problems: two-pin parts tapping their net at the pin, net labels away from their wire's free end or hanging off it, text touchin

Tool names as the Altium README lists them. Your AI app shows the live list once Altium is connected.

How to set up Altium

  1. Follow the install steps in the Altium README; it is written in Python, so have that toolchain ready.
  2. Check the Altium README for keys or settings; the registry lists none that Altium requires.
  3. Add Altium to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Altium tools to confirm the connection.
  5. Run one read-only task with Altium first, such as a call to get_output_job_containers, before you allow anything that writes or sends.

Altium compared with similar servers

  • Netease Music by Vael-KY has fewer GitHub stars than Altium (242 against 242); both are community servers, and both run locally.
  • ITASCA by yusong652 has more GitHub stars than Altium (243 against 242); both are community servers, and both run locally.
  • Penpot by montevive has fewer GitHub stars than Altium (242 against 242); both are community servers, and both run locally. The Penpot README lists 6 tools to Altium's 30.

Before you connect Altium

  • Give Altium its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Altium tool call until you trust what it does with them.
  • Treat text that Altium fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Altium on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Altium

How marketing and sales teams put Altium to work, by company size. Pick the size closest to yours and start Altium on one use case.

Small business

  • A small business can use Altium to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Altium to pull brand assets and make quick ad and social variations that still look on brand.
  • Altium runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Altium so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Altium to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start with get_output_job_containers and run_output_jobs, the tools Altium lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can use Altium with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Altium to localize and version assets for many markets with review built in.
  • Altium is a community server, so have security review the code and pin a version before Altium touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Altium README

From coffeenmusic/altium-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Altium MCP Server

TLDR: Use Claude to control or ask questions about your Altium project. This is a Model Context Protocol (MCP) server that provides an interface to interact with Altium Designer through Python. The server allows for querying and manipulation of PCB designs programmatically.

Example commands

  • Run all output jobs
  • Create a symbol for the part in the attached datasheet and use the currently open symbol as a reference example.
  • Create a schematic symbol from the attached MPM3650 switching regulator datasheet and make sure to strictly follow the symbol placement rules. (Note: Need to open a schematic library. Uses server\symbol_placement_rules.txt in the extension's install folder as pin placement rules. Please modify for your own preferences; an extension update replaces the file, so keep a copy.)
  • Create an op-amp symbol with a triangle body like the other op-amps in my library (symbols support line/polygon/arc/ellipse/label body graphics, not just rectangles)
  • Find me the LM358 symbol in my opamp library and open it
  • Create a multi-part symbol for a quad op-amp from the attached LM324 datasheet (creates parts A, B, C, D with shared V+/V- power pins)
  • Create a PCB footprint for the SMD part in the attached datasheet and add it to my open PcbLib
  • Duplicate my selected layout. (Will prompt user to now select destination components. Supports Component, Track, Arc, Via, Polygon, & Region)
  • Show all my inner layers. Show the top and bottom layer. Turn off solder paste.
  • Get me all parts on my design made by Molex
  • Give me the description and part number of U4
  • Place the selected parts on my pcb with best practices for a switching regulator, then verify clearances and show me a screenshot of the result
  • Auto-place my silkscreen, then fix the designators the placer left on top of parts or far from them
  • Give me a list of all IC designators in my design
  • Get me all length matching rules
  • Check my project is ready for fabrication: unsaved documents, ERC errors, and which layers my Gerber output job plots
  • Draw a schematic of an LED with a current-limiting resistor on a new sheet, using symbols from my library

Videos

More on the altium-mcp YouTube channel, including the install walkthrough and videos for individual tools below.

Installing the MCP Server

The easiest way to install is to use Claude Code, point it to this repo and ask it to install it for you. Or alternatively, see below.

Watch on YouTube

  1. Make sure Claude has Python 3.10 to 3.14 installed: drop down > File > Settings > Extensions > Advanced > Python. If not, install Python and add it to PATH. Python 3.15 is untested (see Bootstrap Venv).
  2. Download the altium-mcp.dxt desktop extension file from releases
  3. In Claude Desktop on Windows: drop down > File > Settings > Extensions > Advanced > Install Extension... Select the .dxt file

You shouldn't need to restart Claude and you should now see altium-mcp in the tool menu near the search bar.

Creating a new .dxt (For Developers)

Bootstrap Venv (Recommended)

This approach ships a small bootstrap script (start_server.py) that creates a virtual environment and pip-installs dependencies on the user's machine at first launch. The .dxt is small (about 300 KB) and works on Python 3.10 to 3.14.

Python versions: 3.10 to 3.13 install the hash-locked requirements.txt. 3.14 has no wheel for the locked pillow, so it installs the fallback list in start_server.py instead. With mcp 1.30 that list no longer caps pydantic, so it also resolves on 3.15, but 3.15 has not been tested.

The older approach of bundling pre-compiled packages in server/lib/ is no longer recommended, it breaks when the user's Python version doesn't match the version used to build the bundled .pyd files (e.g. pydantic_core compiled for 3.11 fails on 3.13).

How it works:

  1. start_server.py (at the repo root) looks for a ready virtual environment in %USERPROFILE%\.altium-mcp\venvs\<key>, where <key> is a hash of the pinned requirements and the Python version
  2. If it isn't ready, it starts a detached builder process (start_server.py --build) that creates the venv and pip-installs the dependencies, then waits for it. It installs the hash-locked requirements.txt when the package contains it, and falls back to the short REQUIREMENTS list in start_server.py when the file is missing or the locked wheels don't fit the interpreter. Claude Desktop kills a server that has not answered within about 60 seconds, and restarts servers freely; a build that ran inside the launcher died with it. The detached builder finishes regardless, so a restarted launcher finds the venv ready or a build still in progress.
  3. A lock file (holding the builder's PID) makes sure only one build runs at a time; other launchers wait for it. A lock whose owner has exited is taken over immediately.
  4. It then launches server/main.py using the venv's Python
  5. First launch takes ~20-30 seconds; subsequent launches are instant

The venv, config.json, build.log and the server log altium_mcp.log live in %USERPROFILE%\.altium-mcp, not in the extension folder, because Claude Desktop replaces the extension folder on every update. The slow build therefore happens once per machine (and again only when the requirements or Python version change), and a hand-picked Altium path survives updates. AppData is deliberately avoided: Claude Desktop is an MSIX package, and writes its child processes make under AppData are redirected into ...\Packages\Claude_...\LocalCache, so a venv built from a terminal and one built by the server would end up in different places. Set the ALTIUM_MCP_HOME environment variable to use a different folder. A config.json left beside server/main.py by an older version is migrated automatically on first start. The server log rotates at 1 MB (three backups) and records INFO and above; set ALTIUM_MCP_LOG_LEVEL=DEBUG to include every MCP protocol message.

On a slow network the first build can exceed the client's 60-second startup timeout. The build carries on in the background, so restarting the extension once it has finished is enough; build.log shows progress.

Build steps:

  1. Make sure start_server.py exists at the repo root
  2. Make sure server/main.py does NOT have the old site.addsitedir hack at the top
  3. Update manifest.json: set entry_point to start_server.py, remove any env/PYTHONPATH fields, and use manifest_version: "0.3"
  4. Package the DXT, either use dxt pack or manually zip and rename:
Compress-Archive -Path manifest.json, start_server.py, pyproject.toml, requirements.txt, server -DestinationPath altium-mcp.zip
Rename-Item altium-mcp.zip altium-mcp.dxt

Build from a clean checkout. Release packages leave out server/tests/, __pycache__ folders, *.pyc and log files.

Do NOT include server/lib/ or server/.venv/ in the .dxt. The whole point is that these are created on the user's machine.

start_server.py: use the file at the repo root as is. It is no longer reproduced here, so the two cannot drift apart.

manifest.json server section:

"server": {
    "type": "python",
    "entry_point": "start_server.py",
    "mcp_config": {
      "command": "python",
      "args": ["${__dirname}/start_server.py"]
    }
  }
Pitfalls

These are hard-won lessons from debugging DXT builds. Violating any of these will produce errors that are difficult to diagnose.

  1. Do NOT use os.execv() in start_server.py. The DXT installs to a path containing spaces (Claude Extensions). On Windows, os.execv splits the path at the space and fails. Use sys.exit(subprocess.call([...])) instead.

  2. Pin mcp to an exact version (now ==1.30.0) and upgrade it deliberately. An open range pulls in whatever is newest, and FastMCP has changed under the server before: 1.x dropped the description kwarg of FastMCP.__init__(), and in later 1.x releases a tool declared -> str sends its result a second time as structuredContent unless it is registered with structured_output=False (what _tool() in main.py does). mcp 2.x is not supported.

  3. Do NOT use manifest_version: "0.4" with "type": "uv". Claude Desktop does not support it yet. You will get Invalid manifest: server: Required. Use "type": "python" with manifest_version: "0.3".

  4. After removing the site.addsitedir hack from main.py, fix the pathlib.Path reference. The hack included import pathlib at the top of the file. The logging setup later uses pathlib.Path(...) which will throw NameError once that import is gone. Change it to Path(...), the from pathlib import Path import already exists in the file, just make sure it comes before the logging setup.

  5. Do NOT bundle server/lib/ in the DXT. That was the old approach and defeats the purpose of the venv bootstrap.

Legacy: Bundled server/lib (Not Recommended)

This approach bundles all dependencies in server/lib/ and sets PYTHONPATH to point to it. It produces a much larger .dxt (~17 MB) and only works if the user's Python version matches the version used to compile the bundled packages.

  1. Populate packages: python -m pip install --no-cache-dir --target server/lib -r requirements.txt
  2. Set the manifest entry_point to server/main.py and add "env": {"PYTHONPATH": "${__dirname}/server/lib"} to mcp_config
  3. Package: npm install -g @anthropic-ai/dxt && dxt pack
DXT Resources

Configuration

The server finds your Altium Designer installation by itself, and uses the newest build when several are installed. It looks first at the builds Altium's installers record in the registry (HKLM\SOFTWARE\Altium\Builds), wherever Altium was installed, then at a running Altium, and last in C:\Program Files\Altium. If it finds none, it asks you to select the Altium executable (X2.EXE) the first time a tool runs; it never asks while the server is starting. The choice is kept in config.json in the data folder (see above). Altium's DelphiScript scripting is used to create an API between the mcp server and Altium.

Available Tools

The server provides several tools to interact with Altium Designer:

Output Jobs
  • get_output_job_containers: Reads all available output containers from the .OutJob at outjob_path (a full path, optional) or, without one, from the first OutJob open in a project
  • run_output_jobs: Pass a list of output job container names to run any number of them, from the .OutJob at outjob_path or the first open one. The OutJob's project must be open in Altium. PDF containers report output_verified once the PDF is written. If the PDF already exists and the container prompts before overwriting, Altium asks in a dialog and the run waits for the answer.
  • get_outjob_settings: Read any .OutJob file from disk (no Altium needed, the OutJob does not have to be open) and return its containers (output paths, file name expression, add-to-project) and outputs (connected containers, variant, document) with decoded settings: Gerber units/format/origin and the plotted and "add to all plots" layers decoded from Altium layer IDs, NC Drill, IPC-D-356 test points, pick and place, print layers and BOM sections. Use it to audit fabrication settings before generating. Reads the saved file, so unsaved changes in Altium are not visible.
  • create_outjob, edit_outjob: Create an OutJob (from one of your OutJobs as a template, or empty) and add it to a project; change its containers (add a PDF or generated-files container with its folder and file name, rename, remove) and outputs (copy an output from another OutJob into chosen containers, remove, rename, enable, move between containers, change one setting of its configuration). Edits keep everything else exactly as Altium wrote it, and nothing is written when any operation fails; an OutJob open in Altium is closed first and reopened after, and Altium is not started for an edit. A new container copies the settings of one of its type but not its folder or file name. Contributed by SiboVG (PR #75).
Project & Validation
  • list_open_documents: List the documents open in Altium with their path, kind, whether they have unsaved changes and which one is in front.
  • reload_document: Close an open document and open it again from disk, e.g. after the file was replaced outside Altium (which otherwise saves its own copy over it). A document with unsaved changes is refused unless discard_changes. Returns the file's size and modification time as loaded.
  • get_project_info: Focused project's parameters, documents with their state (closed / open / modified = unsaved changes in memory), schematic sheet count and variants with their variations (e.g. Not Fitted parts). Read-only; use it to confirm nothing is unsaved before generating outputs.
  • preview_eco: What Design > Update PCB would change, as data, without running it: components to add, remove or change (designator, footprint, comment), nets to add, remove or rename, pins changing net, component and net classes, and rooms the update would add or remove. Components match by unique id and nets by their pins, as the comparator does. The project's saved options are followed: kinds the comparator ignores or the ECO does not generate, and classes and rooms Class Generation does not make, are left out and counted in skipped_by_project_options. Board parts with no schematic link are listed apart (board_only_components), as the ECO leaves them alone. Also explains duplicate component class names (Altium's "Class already exists" warning from a sheet symbol that lists several files). Not compared: net class members, component parameters, differential pairs, rules from parameter sets, and room scope and members, so an empty result means no differences of the kinds compared. Read-only: compiles in memory and reads the board without bringing it to the front (a board it had to open is closed again; one already open stays open). Contributed by SiboVG (PR #84).
  • compare_netlist: Compile a project and compare its netlist with a saved snapshot: the safety net for editing sheets in place. Lists nets that gained or lost pins, pins moved between nets, nets added, removed or renamed (an auto-named net whose pins stay together is a rename; nets are matched by name, then greedily by most shared pins) and nets left with a single pin. By default each call compares with the previous one and saves itself (against / save_as name a fixed baseline). Snapshots are kept per project by its full path, so a copy of a project in another folder keeps its own; the 20 most recently saved per project are kept and older ones removed (listed in pruned). A malformed snapshot gives an error, not a comparison. Read-only: compiles in memory. Contributed by SiboVG (PR #93).
  • get_project_components: The components of the compiled project with their schematic Comment, footprint, library reference and sheet (optionally all parameters, or only the ones you name). Filter by designator (wildcards such as R*) or sheet; a large project comes in pages, and next_offset says where to go on. Use it for BOM work: the instance Comment is where generic passives keep their value, which PCB-side tools and ActiveBOM may not show. Takes an optional project_path, as get_erc_violations does.
  • get_erc_violations: Compile a project in memory (nothing is saved) and list compiler/ERC violations with their level (fatal / error / warning). Give project_path (a .PrjPcb, opened if needed) to compile exactly that project; without it the focused project is compiled, and Free Documents is refused. The result names the project it compiled and lists the sheets compiled from unsaved changes in Altium (unsaved_in_altium) and those missing on disk. Violations are read from the project object - the per-document DM_ViolationCount does not exist in recent Altium versions. project_path contributed by SiboVG (PR #80).
  • get_board_summary: Fabrication-oriented summary of the focused PCB in mm: board outline (bounding box, size, vertices) and origin, dimension objects, vias by hole size, components per side, primitive counts per layer (free vs. inside components, e.g. to see which mechanical layers hold the assembly outlines) and the free texts on both overlays.
  • get_component_primitives: Every primitive of the given components with its layer (pads with size and solder/paste mask expansion, arcs, tracks, texts). Catches footprints that were flipped to the bottom side but kept part of their copper or mask opening on the top (e.g. fiducials).
Component Information
  • get_all_designators: Get a list of all component designators in the current board
  • get_all_component_property_names: Get a list of all available component property names
  • get_component_property_values: Get the values of a specific property for all components
  • get_component_data: Get detailed data for specific components by designator
  • get_component_pins: Get pin information for specified components
Schematic/Symbol
  • get_schematic_data: Get schematic data for specified components

  • create_schematic_symbol (YouTube): Passes pin list with pin type & coordinates to Altium script. Supports multi-part symbols (e.g. quad op-amps) via a part_count parameter and an owner_part_id field on each pin (use 0 for shared power/GND pins), active-low pin name overbars by placing a backslash after each overbarred character (e.g. R\E\S\E\T\ renders as RESET with overbar), per-pin length and name/designator visibility, and an optional graphics list (lines, polylines, polygons, rectangles, arcs, ellipses, labels) for non-rectangular bodies like op-amp triangles and diode glyphs. When creating a symbol, the agent is instructed to first look up a similar symbol in an available library as a style reference (skipped gracefully if no library is available).

  • get_symbol_primitives: Inventory a .SchLib (every symbol with per-type primitive counts) or dump one symbol's complete geometry (all graphics + pin details, in mils; symbol_name="*" dumps every symbol). Used to gap-analyze a library, to give the agent a reference example when drawing a new symbol, and to verify recreations. The symbol creator round-trips a complete production library set exactly - 514/514 symbols across IC, connector, misc, and passives libraries (dump -> recreate -> dump -> diff, zero differences). Footprint/model links (implementations) are metadata outside the graphics round-trip. Each dumped symbol also reports its Comment (text, visible), its reference designator (text, visible, location, justification, autoposition, font) and its parameters (name, value, visible, location in mils as Altium holds it, justification, autoposition, font name and size), and each pin its description, its four IEEE symbols (symbol_inside, symbol_inside_edge, symbol_outside_edge, symbol_outside) and its parameters (name, value), so the agent can check symbol properties after setting them.

  • create_symbols_batch: Create or edit many symbols in one script run from a plain-text spec file (bulk imports/migrations) - far faster and more robust than one create call per symbol. Besides SYMBOL, PIN and GRAPHIC records it takes:

    • EDITSYMBOL|<name>: edit an existing symbol. A symbol that is not in the library is reported under failed, never created.
    • COMMENT|<text>[|<visible 1/0>]: set the Comment. It is hidden unless the visible field is 1. The library editor keeps its own copy of the Comment of the symbol on screen and writes that copy back when it shows another symbol, so for that symbol the tool sets both.
    • DESCRIPTION|<text>: set the Description.
    • SYMPARAM|<name>|<value>|<visible 1/0>[|x|y[|justification[|font]]]: add or replace a symbol parameter. By default, visible parameters without a location go below the body's bottom-left corner, left-aligned, 100 mil apart in record order. The optional justification is bottom_left, bottom_center, bottom_right, center_left, center, center_right, top_left, top_center or top_right. The optional font is <font name>:<size>, for example Arial:10; it is looked up by name with FontManager.GetFontID, which adds it to the document when missing, because font IDs differ between documents. Leave a field empty to skip it and still give a later one; omitted fields keep the parameter's own. A parameter the tool positions gets Autoposition off, so Altium does not move it afterwards.
    • DESIGNATOR|<text>[|x|y[|justification[|font[|autoposition 1/0]]]]: change the symbol's reference designator, for example DESIGNATOR|U?. The designator is not a parameter, so SYMPARAM|Designator|... does not reach it. Empty fields keep the current value: DESIGNATOR||||||0 only turns Autoposition off and leaves the designator where it is. A location (x and y together) turns Autoposition off unless the record says otherwise. Justification and font are as for SYMPARAM.
    • PINPARAM|<pin number>|<name>|<value>: add or replace a hidden parameter on every pin with that number (every part of a multi-part symbol).
    • PINDESC|<pin number>|<text>: set the Description of every pin with that number.
    • PINSYMBOL|<pin number>|<edge>|<symbol>: set an IEEE symbol of every pin with that number. The edge is inside, inside_edge, outside_edge or outside. The symbol is a TIeeeSymbol name without the leading e, in any case: none, dot, clock, activelowinput, schmitt and so on (the full list is in the altium-script skill, SCH_API_Reference.md, under TIeeeSymbol).
    • PINFUNC|<pin number>|<F1>/<F2>/... (optional): replace the Functions list (Properties panel > Pin > Functions) of every pin with that number, in the order given, for multi-function pins such as GPIOs. Nothing sets functions unless the spec has this record. A script cannot clear the list, so an empty one is listed under problems, and so is a stored list that differs, as when Altium merges a repeated name. get_symbol_primitives returns a pin's functions when it has any.

    These records work after SYMBOL and EDITSYMBOL alike. An unknown pin number, edge, symbol or justification is listed under problems; the rest of the batch still runs.

    The result lists created, edited, failed and problems. Created and edited symbols leave the library modified and unsaved, so the user reviews them and saves; the tool never saves a library. Objects a script adds through PreProcess/PostProcess do not reliably set Altium's modified flag (in a PCB library they never do), so the symbol and footprint tools set it themselves. A LIBRARY|<path> line focuses that library if it is already open (it never reloads it, which would discard unsaved symbols) and opens it otherwise. If that library cannot be focused, the batch stops before changing anything. The library editor draws the symbol it shows from a picture made when that symbol was shown, so new parameters on it would not appear: a batch that edited symbols therefore ends by showing another symbol and then that one again. A library with a single symbol has nothing to switch to; problems then says the new parameters appear once the library is reopened.

  • build_schematic: Build a wired schematic on a new sheet from a circuit description: parts from a .SchLib (full path; .IntLib is not supported), wires, junctions, net labels, power ports and notes, in mils (fractions are kept, so metric positions are exact). Returns every placed pin's true connection point, so a second call can route wires from measured coordinates, and lists any part it could not place. The new sheet is kept out of your project.

  • check_schematic: Check saved sheets for drafting problems: two-pin parts tapping their net at the pin, net labels away from their wire's free end or hanging off it, text touching wires, pins or other text (with a clear layout suggested), dangling wires, wires slightly out of level, parts whose pins sit a few microns off the grid, and sheet symbol layout. Takes a .SchDoc, a .PrjPcb or a folder and reads the saved files, so it needs no running Altium. Contributed by SiboVG (PR #64, pins off the grid PR #73).

  • check_hierarchy: Check that a project's sheets connect: every sheet entry against the ports of its child sheet (with rename suggestions for pairs that belong together under different names), harness types of entries and ports, one harness type defined differently on two sheets, signal harnesses whose type nobody gives (located, unlike the ERC's "Missing harness type"), and .Harness files out of step with their sheet. Reads the saved files, so it needs no running Altium.

  • edit_schematic: Change an existing sheet: move, rotate, mirror, delete or place parts, set parameters, move designator and parameter text, add wires, net labels, power ports, junctions and no-ERC markers, and delete objects at a point. Coordinates are in mil or mm, so check_schematic's suggestions apply directly. The whole edit is one undo step in Altium, and the sheet is saved only when asked. place_component also places a part from a database library (Excel tables) by dblib and part_number: the row gives the symbol, footprints, description and parameters (following the field map's visibility and Add To Design settings), and the part is linked to the DbLib as when Altium places it. It also edits sheet symbols (move, resize, colours, name and file name text) and their entries (side, distance, I/O type, style, name), moves a wire vertex together with the wires, junctions, net labels, power ports and port ends on it, and moves a net label, optionally onto the nearest wire end, keeping its font and colour. Contributed by SiboVG (PR #70, DbLib parts PR #91, sheet symbols, wire vertices and label moves PR #92).

  • get_schematic_pins: The pins of a sheet's parts, live from Altium: connection point, number, name, electrical type. edit_schematic also takes pin references ("U20.VCC", "U20.3", "U1A.3" for part A of a multi-part part) wherever it takes a point, and add_port places a port with a fixed width (auto size off). Pins are read before the edit runs, so a part moved or placed in the same call is referred to in a second call. Contributed by SiboVG (PR #78).

  • render_sheet: A picture of a schematic sheet or part of it (wires, buses, junctions, component bodies with pin names and numbers, net labels, power ports, ports, sheet symbols, texts), read from the .SchDoc file, so the sheet need not be open. Contributed by SiboVG (PR #87).

  • get_symbol_placement_rules: Create symbol's helper tool that reads server\symbol_placement_rules.txt in the extension's install folder to get pin placement rules for symbol creation. The file ships empty, so the tool returns neutral guidance (follow a comparable symbol in the user's library, keep pins on a 100 mil grid); put your own rules in it.

  • get_library_symbol_reference: Create symbol's helper tool to use an open library symbol as an example to create the symbol

  • search_library_symbol: Search for a symbol by name in a schematic library (.SchLib) and navigate to it. Supports partial name matching. Will open the library file in Altium if a path is provided, or show a file picker if not.

Library paths (library_path, LIBRARY|, FPLIB|) may contain commas and may be spelled in a different case or with forward slashes; LIBRARY| and FPLIB| paths may also use short (8.3) folder names. An open library is matched to its path after normalizing case and separators, so the tools never open a second copy of it.

Read the rest of the Altium README on GitHub

Questions about Altium

What is the Altium MCP server?

Altium Model Context Protocol server and Altium API script. Altium is maintained by coffeenmusic on GitHub at coffeenmusic/altium-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Altium MCP server?

Altium doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (coffeenmusic/altium-mcp). Like most servers, Altium ends with a command or URL you paste into your AI app's MCP config.

Does Altium need an API key?

The registry lists no required keys for Altium. Check the Altium README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Altium an official MCP server?

No. Altium is a community server maintained by coffeenmusic. Community servers can be excellent; read the code and the open issues before you give Altium access to company data.

What license is Altium under?

Altium is released under the MIT license, according to its GitHub repository. The license covers the code of Altium; the service it connects to has its own terms.