Name | tapir-archicad-mcp JSON |
Version |
0.2.5
JSON |
| download |
home_page | None |
Summary | An MCP server that enables AI agents to automate Archicad using natural language via intelligent, semantic tool discovery. |
upload_time | 2025-09-03 20:09:18 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.12 |
license | None |
keywords |
ai
api
archicad
automation
bim
llm
mcp
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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 the powerful [Tapir JSON API](https://github.com/ENZYME-APD/tapir-archicad-automation).
The server dynamically generates a comprehensive set of over 80 MCP tools from the Tapir API schema, enabling fine-grained control over Archicad projects.
[](https://opensource.org/licenses/MIT)
[]()
> **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_tools` function 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 the entire Tapir API (80+ commands, expanding to 160+) 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-transformers` and `faiss-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 the `uv` package manager installed. You can install `uv` with `pip install uv`.
- **Archicad & Tapir Add-On**: You must have Archicad running with the [Tapir Archicad Add-On](https://github.com/ENZYME-APD/tapir-archicad-automation) installed. The server cannot function without it.
- **MCP Client**: An application that can host MCP servers, such as [Claude for Desktop](https://www.claude.ai/download) or [Gemini CLI ](https://github.com/google-gemini/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`
```json
{
"mcpServers": {
"ArchicadTapir": {
"command": "uvx",
"args": [
"--package",
"tapir-archicad-mcp",
"tapir-server"
]
}
}
}
```
**How This Works:**
The `uvx` command (part of the `uv` toolchain) is a powerful utility that automatically handles the entire process for you:
1. The first time the AI client needs the tool, `uvx` will download the latest version of `tapir-archicad-mcp` from PyPI.
2. It will install it into a temporary, isolated environment.
3. It will run the server.
## Usage
1. **Restart Claude for Desktop** to apply the configuration changes.
2. Ensure at least one instance of Archicad (with Tapir) is running.
3. 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_archicads` and report the active instances and their `port` numbers.
4. Now, state your main goal. For example:
> "Okay, using port 12345, get all the Wall elements from the project."
5. The AI will now perform the two-step `discover`/`call` workflow:
* **First, it will call `archicad_discover_tools`** with a query like `"get all wall elements"`. The server's semantic search will find that the best match is the `elements_get_elements_by_type` tool.
* **Second, it will call `archicad_call_tool`**, using the `name="elements_get_elements_by_type"` it just discovered and constructing the necessary `arguments` (including the `port` and `params` with `elementType="Wall"`).
* The final result is returned to you.
## 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.
- **Archicad Tapir MCP Server (This Project):** Provides an intelligent abstraction layer over the Tapir API, exposing a simple `discover`/`call` interface.
- **`multiconn_archicad` Library:** The underlying Python library that handles the low-level communication with Archicad instances.
- **Archicad & Tapir Add-On:** The final destination that executes 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](./LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "tapir-archicad-mcp",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "ai, api, archicad, automation, bim, llm, mcp",
"author": null,
"author_email": "SzamosiMate <szamimate@yahoo.com>",
"download_url": "https://files.pythonhosted.org/packages/0c/79/886e57de3f719aae78a2d5197e883633f2f012afa0beb8de90f8b28e09e4/tapir_archicad_mcp-0.2.5.tar.gz",
"platform": null,
"description": "# Archicad Tapir MCP Server\n\nThis 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 the powerful [Tapir JSON API](https://github.com/ENZYME-APD/tapir-archicad-automation).\n\nThe server dynamically generates a comprehensive set of over 80 MCP tools from the Tapir API schema, enabling fine-grained control over Archicad projects.\n\n[](https://opensource.org/licenses/MIT)\n[]()\n\n> **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.\n\n## Key Features\n\n- **Intelligent Tool Discovery:** The server exposes a simple `discover_tools` function that uses a powerful local semantic search engine to find the most relevant Archicad command from a user's natural language query.\n- **Massive Toolset, Minimal Footprint:** Provides access to the entire Tapir API (80+ commands, expanding to 160+) without overwhelming the AI's context window.\n- **100% Local & Private Search:** The semantic search index is built and runs entirely on your machine using `sentence-transformers` and `faiss-cpu`. No data ever leaves your computer, and no API keys are required.\n- **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.\n- **Multi-Instance Control:** Connect to and manage multiple running Archicad instances simultaneously.\n- **Robust & Packaged:** Designed as a proper Python package with a `pyproject.toml`, enabling simple and reliable installation.\n\n## Installation & Setup\n\nFollow these steps to get the server running and connected to an MCP client like Claude for Desktop.\n\n### 1. Prerequisites\n\n- **Python 3.12+** and **`uv`**: Ensure you have a modern version of Python and the `uv` package manager installed. You can install `uv` with `pip install uv`.\n- **Archicad & Tapir Add-On**: You must have Archicad running with the [Tapir Archicad Add-On](https://github.com/ENZYME-APD/tapir-archicad-automation) installed. The server cannot function without it.\n- **MCP Client**: An application that can host MCP servers, such as [Claude for Desktop](https://www.claude.ai/download) or [Gemini CLI ](https://github.com/google-gemini/gemini-cli)\n\n### 2. Configure Your AI Client\n\nThis 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.\n\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n \"mcpServers\": {\n \"ArchicadTapir\": {\n \"command\": \"uvx\",\n \"args\": [\n \"--package\",\n \"tapir-archicad-mcp\",\n \"tapir-server\"\n ]\n }\n }\n}\n```\n\n**How This Works:**\nThe `uvx` command (part of the `uv` toolchain) is a powerful utility that automatically handles the entire process for you:\n1. The first time the AI client needs the tool, `uvx` will download the latest version of `tapir-archicad-mcp` from PyPI.\n2. It will install it into a temporary, isolated environment.\n3. It will run the server.\n\n## Usage\n\n1. **Restart Claude for Desktop** to apply the configuration changes.\n2. Ensure at least one instance of Archicad (with Tapir) is running.\n3. The client will now have access to a small set of core tools. Start by asking it to find the running Archicad instances:\n\n > \"Can you check what Archicad projects I have running?\"\n\n The AI will run `discovery_list_active_archicads` and report the active instances and their `port` numbers.\n\n4. Now, state your main goal. For example:\n\n > \"Okay, using port 12345, get all the Wall elements from the project.\"\n\n5. The AI will now perform the two-step `discover`/`call` workflow:\n * **First, it will call `archicad_discover_tools`** with a query like `\"get all wall elements\"`. The server's semantic search will find that the best match is the `elements_get_elements_by_type` tool.\n * **Second, it will call `archicad_call_tool`**, using the `name=\"elements_get_elements_by_type\"` it just discovered and constructing the necessary `arguments` (including the `port` and `params` with `elementType=\"Wall\"`).\n * The final result is returned to you.\n\n## How It Works\n\nThe server operates through a layered architecture:\n\n- **AI Agent (e.g., Claude):** Interacts with the user and decides which tools to call.\n- **MCP Client (e.g., Claude for Desktop):** Manages the server process and communication.\n- **Archicad Tapir MCP Server (This Project):** Provides an intelligent abstraction layer over the Tapir API, exposing a simple `discover`/`call` interface.\n- **`multiconn_archicad` Library:** The underlying Python library that handles the low-level communication with Archicad instances.\n- **Archicad & Tapir Add-On:** The final destination that executes the commands.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit an issue or open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "An MCP server that enables AI agents to automate Archicad using natural language via intelligent, semantic tool discovery.",
"version": "0.2.5",
"project_urls": {
"Bug Tracker": "https://github.com/SzamosiMate/tapir-archicad-MCP/issues",
"Homepage": "https://github.com/SzamosiMate/tapir-archicad-MCP"
},
"split_keywords": [
"ai",
" api",
" archicad",
" automation",
" bim",
" llm",
" mcp"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a3652d7cfb1c021a0ea4693482718c9a7a2c46d42911db286d0dc5ee1261b02a",
"md5": "3fb7b1b3a9d16c3dc039389c16655c78",
"sha256": "e07d2c7a7b98e909cb68fe989cd36d0cc46b142680d3a21f20c533224f8451bf"
},
"downloads": -1,
"filename": "tapir_archicad_mcp-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3fb7b1b3a9d16c3dc039389c16655c78",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 34214,
"upload_time": "2025-09-03T20:09:16",
"upload_time_iso_8601": "2025-09-03T20:09:16.603230Z",
"url": "https://files.pythonhosted.org/packages/a3/65/2d7cfb1c021a0ea4693482718c9a7a2c46d42911db286d0dc5ee1261b02a/tapir_archicad_mcp-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0c79886e57de3f719aae78a2d5197e883633f2f012afa0beb8de90f8b28e09e4",
"md5": "e4eac01682f418cd9e1c7d0e61000f1b",
"sha256": "f181f4388bd4b8024108b7f723406451309192aaf57d950579ad1b324bbec47d"
},
"downloads": -1,
"filename": "tapir_archicad_mcp-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "e4eac01682f418cd9e1c7d0e61000f1b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 263736,
"upload_time": "2025-09-03T20:09:18",
"upload_time_iso_8601": "2025-09-03T20:09:18.512045Z",
"url": "https://files.pythonhosted.org/packages/0c/79/886e57de3f719aae78a2d5197e883633f2f012afa0beb8de90f8b28e09e4/tapir_archicad_mcp-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-03 20:09:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SzamosiMate",
"github_project": "tapir-archicad-MCP",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tapir-archicad-mcp"
}