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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。