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 and the public Hub registry 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
- Hub Discovery — Search and explore public ontologies on the OntoBoom Hub (no auth required)
- Secure — Uses your OntoBoom API token for authenticated access
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
- Go to Playground → API Key
(or: avatar → API Tokens in the app) - Click Generate Token, name it (e.g. "Claude Desktop"), select your projects
- 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
{
"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
Your private 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"
Public Hub registry (no token required for these)
- "Search the Hub for insurance ontologies"
- "What's in the @ontoboom namespace?"
- "Show me the classes in @ontoboom/supply-chain"
- "What versions of @ontoboom/fibo are available?"
- "Find ontologies about healthcare on the Hub"
Available Tools
Private ontology tools (require API token)
| 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 |
Hub tools (public, no auth required)
| Tool | Description |
|---|---|
search_hub |
Search public ontologies by keyword or domain |
explore_hub |
Browse featured, popular, and recent ontologies |
list_hub_namespace |
List ontologies in a namespace (e.g. @ontoboom) |
get_hub_ontology |
Get full manifest for a Hub ontology |
list_hub_versions |
List all published versions of a Hub ontology |
Available Resources
| URI Pattern | Description |
|---|---|
ontoboom://ontology/{id} |
Full ontology model (private) |
ontoboom://ontology/{id}/classes |
Classes only |
ontoboom://ontology/{id}/properties |
Properties only |
ontoboom://ontology/{id}/turtle |
Turtle export |
ontoboom://hub/@{namespace}/{slug} |
Hub ontology manifest (public) |
ontoboom://hub/@{namespace}/{slug}@{version} |
Specific version manifest |
Environment Variables
| Variable | Required | Description |
|---|---|---|
ONTOBOOM_API_TOKEN |
Yes* | Your OntoBoom API token (obt_…) |
ONTOBOOM_API_URL |
No | API URL (default: https://api.ontoboom.com) |
* Hub tools work without a token. A token is only required for accessing your private ontologies.
Development
git clone https://github.com/bojannyc/ontoboom.git
cd ontoboom/mcp-server
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -e .
ONTOBOOM_API_TOKEN=obt_xxx ontoboom-mcp
Testing with MCP Inspector
npx @modelcontextprotocol/inspector uvx ontoboom-mcp
License
MIT — see LICENSE for details.
Links
- OntoBoom
- Hub — public ontology registry
- Playground — API keys, Hub discovery, API explorer
- API Docs
- Model Context Protocol
- 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.1.tar.gz.
File metadata
- Download URL: ontoboom_mcp-0.2.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fcb0382f9b214cd4f901d3dcae75c6eeafe9f45716c9100cbaa55b82959f77f
|
|
| MD5 |
56376ee3575a3640e95e9a337ee1981e
|
|
| BLAKE2b-256 |
409aab2cdf482861fc77713e33763fe340ec1e0347215e7944afdea91fa3fcf9
|
File details
Details for the file ontoboom_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: ontoboom_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.7 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 |
00ee816922e7b51b0a4ffab2692c0ee0c7b85b10232457e8a05f4d1bfb9325f2
|
|
| MD5 |
fbcff9616cceba51bd742b2465a4c45a
|
|
| BLAKE2b-256 |
824cf4047086f61f6166479766cc3f97af42b7041c701f5c2916ad11cf9388be
|