MCP server for accessing OntoBoom Studio ontologies and the public Hub registry via Model Context Protocol
Project description
OntoBoom MCP Server
Access your OntoBoom ontologies directly from Claude Desktop and other MCP-compatible AI assistants via the Model Context Protocol.
Features
- List Projects & Ontologies - Browse your accessible projects and ontologies
- Get Ontology Data - Retrieve classes, properties, and full ontology models
- Export Formats - Export ontologies as Turtle, JSON-LD, RDF/XML, or JSON
- Search - Search for classes across all your ontologies
- Secure - Uses your OntoBoom API token for authentication
Installation
Using pip
pip install ontoboom-mcp
Using uvx (recommended for Claude Desktop)
No installation required - uvx runs directly:
uvx ontoboom-mcp
Setup
1. Generate an API Token
- Log in to OntoBoom
- Click your avatar → API Tokens
- Click Generate Token
- Enter a name (e.g., "Claude Desktop")
- Select the projects you want to access
- Copy the token (shown only once!)
2. Configure Claude Desktop
Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the OntoBoom MCP server:
{
"mcpServers": {
"ontoboom": {
"command": "uvx",
"args": ["ontoboom-mcp"],
"env": {
"ONTOBOOM_API_TOKEN": "obt_your_token_here"
}
}
}
}
Alternative using pip installation:
{
"mcpServers": {
"ontoboom": {
"command": "ontoboom-mcp",
"env": {
"ONTOBOOM_API_TOKEN": "obt_your_token_here"
}
}
}
}
3. Restart Claude Desktop
Close and reopen Claude Desktop to load the MCP server.
Usage
Once configured, you can ask Claude about your ontologies:
- "What projects do I have in OntoBoom?"
- "List the ontologies in my Research project"
- "What classes are in the Medical Terms ontology?"
- "Export my Product Catalog ontology as Turtle"
- "Search for classes related to 'customer' across all my ontologies"
Available Tools
| Tool | Description |
|---|---|
list_projects |
List all accessible projects |
list_ontologies |
List ontologies in a project |
get_ontology |
Get full ontology metadata and model |
get_classes |
Get all classes from an ontology |
get_properties |
Get object and data properties |
export_ontology |
Export as Turtle, JSON-LD, XML, or JSON |
search_classes |
Search classes across all ontologies |
Available Resources
The server also exposes ontologies as MCP resources:
| URI Pattern | Description |
|---|---|
ontoboom://ontology/{id} |
Full ontology model |
ontoboom://ontology/{id}/classes |
Classes only |
ontoboom://ontology/{id}/properties |
Properties only |
ontoboom://ontology/{id}/turtle |
Turtle export |
Environment Variables
| Variable | Required | Description |
|---|---|---|
ONTOBOOM_API_TOKEN |
Yes | Your OntoBoom API token |
ONTOBOOM_API_URL |
No | API URL (default: https://api.ontoboom.com) |
Development
Local Development
# Clone the repository
git clone https://github.com/bojannyc/ontoboom.git
cd ontoboom/mcp-server
# Create virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install in development mode
pip install -e .
# Run the server
ONTOBOOM_API_TOKEN=obt_xxx ontoboom-mcp
Testing with MCP Inspector
npx @modelcontextprotocol/inspector uvx ontoboom-mcp
License
MIT License - see LICENSE for details.
Links
- OntoBoom - Visual Ontology Design
- OntoBoom API Docs - REST API Documentation
- Model Context Protocol - MCP Specification
- Report Issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ontoboom_mcp-0.2.0.tar.gz.
File metadata
- Download URL: ontoboom_mcp-0.2.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea2ffb7a6fe8a10e0fdecad34f9043532fa933ab456843f9ea9b6bf6da0e9dad
|
|
| MD5 |
e2f2cb38ffccd76a64c8a1085bbe0b8c
|
|
| BLAKE2b-256 |
2733f251e4873d1e2853285cb7b61eb13b518c9b5fd927c357ed5eafce7abfcf
|
File details
Details for the file ontoboom_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ontoboom_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
737b2de6713d4e48fc63a9c0e6a2d235cc27364c77cff67ed04a02eec0d391b0
|
|
| MD5 |
1dcd0f45d5e59b1e8af81284382eaba4
|
|
| BLAKE2b-256 |
cff22231e515a95ec0d163c42bfbbde5f33ce82b59fc86a32ceec38e57bdc77b
|