Open Ontologies MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/fabio-rovai/open-ontologies
cd open-ontologies

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add open-ontologies -- node "<FULL_PATH_TO_OPEN_ONTOLOGIES>/dist/index.js"

Replace <FULL_PATH_TO_OPEN_ONTOLOGIES>/dist/index.js with the actual folder you prepared in step 1.

README.md

A Terraforming MCP for Knowledge Graphs

Open Ontologies

A Terraforming MCP for Knowledge Graphs Validate, classify, and govern AI-generated ontologies. Written in Rust. Ships as a single binary.

Quick Start · Studio · Benchmarks · Tools · Architecture · Docs


Open Ontologies is a Rust MCP server and desktop Studio for AI-native ontology engineering. It exposes 48 tools that let Claude build, validate, query, diff, lint, version, reason over, align, and persist RDF/OWL ontologies using an in-memory Oxigraph triple store — with Terraform-style lifecycle management, a marketplace of 29 standard ontologies, clinical crosswalks, semantic embeddings, and a full lineage audit trail.

The Studio wraps the engine in a visual desktop environment: 3D force-directed graph, AI chat panel, Protégé-style property inspector, and lineage viewer.

No JVM. No Protégé. No GUI required.


Screenshots

Full UI 3D Graph
Studio overview — 3D graph, property inspector, and AI chat panel Close-up of the 3D force-directed Forest ontology graph

Tissue ontology built in natural language. Gold edges show object property relationships (domain → range) connecting clusters; grey edges show subClassOf hierarchy. Spring-based force layout keeps related classes close.


Quick Start (MCP / CLI)

Install

Pre-built binaries:

# macOS (Apple Silicon)
curl -LO https://github.com/fabio-rovai/open-ontologies/releases/latest/download/open-ontologies-aarch64-apple-darwin
chmod +x open-ontologies-aarch64-apple-darwin && mv open-ontologies-aarch64-apple-darwin /usr/local/bin/open-ontologies

# macOS (Intel)
curl -LO https://github.com/fabio-rovai/open-ontologies/releases/latest/download/open-ontologies-x86_64-apple-darwin
chmod +x open-ontologies-x86_64-apple-darwin && mv open-ontologies-x86_64-apple-darwin /usr/local/bin/open-ontologies

# Linux (x86_64)
curl -LO https://github.com/fabio-rovai/open-ontologies/releases/latest/download/open-ontologies-x86_64-unknown-linux-gnu
chmod +x open-ontologies-x86_64-unknown-linux-gnu && mv open-ontologies-x86_64-unknown-linux-gnu /usr/local/bin/open-ontologies

Docker:

docker pull ghcr.io/fabio-rovai/open-ontologies:latest
docker run -i ghcr.io/fabio-rovai/open-ontologies serve

From source (Rust 1.85+):

git clone https://github.com/fabio-rovai/open-ontologies.git
cd open-ontologies && cargo build --release
./target/release/open-ontologies init

Connect to your MCP client

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "open-ontologies": {
      "command": "/path/to/open-ontologies/target/release/open-ontologies",
      "args": ["serve"]
    }
  }
}

Restart Claude Code. The onto_* tools are now available.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "open-ontologies": {
      "command": "/path/to/open-ontologies/target/release/open-ontologies",
      "args": ["serve"]
    }
  }
}
Cursor / Windsurf / any MCP-compatible IDE

Add to .cursor/mcp.json or equivalent:

{
  "mcpServers": {
    "open-ontologies": {
      "command": "/path/to/open-ontologies/target/release/open-ontologies",
      "args": ["serve"]
    }
  }
}
Docker
{
  "mcpServers": {
    "open-ontologies": {
      "command": "do

Tools (1)

onto_*A suite of 48 tools for building, validating, querying, diffing, linting, versioning, and reasoning over RDF/OWL ontologies.

Configuration

claude_desktop_config.json
{"mcpServers": {"open-ontologies": {"command": "/path/to/open-ontologies/target/release/open-ontologies", "args": ["serve"]}}}

Try it

Validate the current ontology for consistency errors using the Oxigraph engine.
Query the knowledge graph to find all subclasses of the 'Forest' entity.
Generate a diff between the current ontology version and the previous commit.
Apply the standard clinical crosswalk ontology to my existing knowledge graph.
Lint the RDF triples to ensure they follow standard OWL property constraints.

Frequently Asked Questions

What are the key features of Open Ontologies?

In-memory Oxigraph triple store for high-performance RDF/OWL operations. 48 specialized tools for ontology engineering and knowledge graph governance. Terraform-style lifecycle management for ontologies. Full lineage audit trail for all knowledge graph changes. Support for semantic embeddings and standard ontology marketplaces.

What can I use Open Ontologies for?

Building and validating complex domain ontologies using natural language. Managing version control and lineage for enterprise knowledge graphs. Performing semantic reasoning and cross-referencing across clinical datasets. Automating the linting and quality assurance of AI-generated RDF triples.

How do I install Open Ontologies?

Install Open Ontologies by running: curl -LO https://github.com/fabio-rovai/open-ontologies/releases/latest/download/open-ontologies-aarch64-apple-darwin && chmod +x open-ontologies-aarch64-apple-darwin

What MCP clients work with Open Ontologies?

Open Ontologies works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Open Ontologies docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare