tapir-archicad-mcp
A bridge allowing AI agents to control Archicad projects via dynamically generated tools from the Tapir and official Archicad JSON APIs.
README
Archicad Tapir MCP Server
This project provides a Model Context Protocol (MCP) server for Archicad. It acts as a bridge, allowing AI agents and applications (like Claude for Desktop) to interact with running Archicad instances by wrapping both the community-driven Tapir API and the official Archicad JSON API.
The server dynamically generates a comprehensive set of 137 MCP tools from the combined API schemas, enabling fine-grained control over Archicad projects.
Disclaimer: This project is in an early stage of development. It has not been extensively tested and is intended primarily for experimental and educational purposes. Interfaces and functionality may change in future updates. Please use with caution.
Key Features
- Intelligent Tool Discovery: The server exposes a simple
discover_toolsfunction that uses a powerful local semantic search engine to find the most relevant Archicad command from a user's natural language query. - Massive Toolset, Minimal Footprint: Provides access to a unified toolset of 137 commands (and growing) by intelligently merging the community Tapir API and the official Archicad JSON API, without overwhelming the AI's context window.
- 100% Local & Private Search: The semantic search index is built and runs entirely on your machine using
sentence-transformersandfaiss-cpu. No data ever leaves your computer, and no API keys are required. - Adaptive & Relevant Results: Search uses a sophisticated "Top-Score Relative Threshold" to filter out noise and return only the most relevant tools for a given query.
- Multi-Instance Control: Connect to and manage multiple running Archicad instances simultaneously.
- Robust & Packaged: Designed as a proper Python package with a
pyproject.toml, enabling simple and reliable installation.
Installation & Setup
Follow these steps to get the server running and connected to an MCP client like Claude for Desktop.
1. Prerequisites
- Python 3.12+ and
uv: Ensure you have a modern version of Python and theuvpackage manager installed. You can installuvwithpip install uv. - Archicad & Tapir Add-On: You must have Archicad running (which includes the official JSON API). To access the full set of community-developed tools, the Tapir Archicad Add-On must also be installed.
- MCP Client: An application that can host MCP servers, such as Claude for Desktop or Gemini CLI
2. Configure Your AI Client
This is now the only step required. Open your client's config.json file and add the following configuration. This command is universal and works on any operating system without modification.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"ArchicadTapir": {
"command": "uvx",
"args": [
"--from",
"tapir-archicad-mcp",
"archicad-server"
]
}
}
}
How This Works:
The uvx command (part of the uv toolchain) is a powerful utility that automatically handles the entire process for you:
- The first time the AI client needs the tool,
uvxwill download the latest version oftapir-archicad-mcpfrom PyPI. - It will install it into a temporary, isolated environment.
- It will run the server.
Usage
-
Restart Claude for Desktop to apply the configuration changes.
-
Ensure at least one instance of Archicad (with Tapir) is running.
-
The client will now have access to a small set of core tools. Start by asking it to find the running Archicad instances:
"Can you check what Archicad projects I have running?"
The AI will run
discovery_list_active_archicadsand report the active instances and theirportnumbers. -
Now, state your main goal. For example:
"Okay, using port 12345, get all the Wall elements from the project."
-
The AI will now perform the two-step
discover/callworkflow:- First, it will call
archicad_discover_toolswith a query like"get all wall elements". The server's semantic search will find that the best match is theelements_get_elements_by_typetool. - Second, it will call
archicad_call_tool, using thename="elements_get_elements_by_type"it just discovered and constructing the necessaryarguments(including theportandparamswithelementType="Wall"). - The final result is returned to you.
- First, it will call
How It Works
The server operates through a layered architecture:
- AI Agent (e.g., Claude): Interacts with the user and decides which tools to call.
- MCP Client (e.g., Claude for Desktop): Manages the server process and communication.
- MCP Server (This Project): Provides an intelligent abstraction layer over Archicad's automation APIs, exposing a simple
discover/callinterface. multiconn_archicadLibrary: The underlying Python library that handles the low-level communication with Archicad instances.- Archicad & Tapir Add-On: Archicad's built-in JSON API and the Tapir Add-on execute the commands.
Contributing
Contributions are welcome! Please feel free to submit an issue or open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.