Universal Ontology MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Universal Ontology MCP
The Intelligent Bridge between Unstructured Data and High-Fidelity Knowledge Graphs.
Universal Ontology MCP is a powerful tool designed for AI assistants to explore, navigate, and populate complex ontologies. It transforms raw text into structured relationships while adhering to strict semantic standards.
π Why Universal Ontology MCP?
Existing ontology tools often struggle with semantic ambiguity and rigid keyword matching. This MCP solves these problems by providing:
π§ Semantic Hybrid Search: Don't get stuck on exact names. Find "Cloud Service" when you search for "Online Account" using state-of-the-art
all-MiniLM-L6-v2embeddings.β‘ Proactive Schema Guidance: The server doesn't just list properties; it teaches the AI how to use them. It identifies mandatory fields and expected entity types for ObjectProperties in real-time.
π Component-Based Modeling: Simplifies complex modeling (like UCO Facets) by ranking and recommending relevant components for any given class.
βοΈ Built-in SHACL Validation: Ensures data integrity from the start. It validates entities against schema constraints before you export your graph.
π Connectivity-First Philosophy: Encourages building deeply linked graphs rather than flat attribute lists, resulting in more useful "Reasoning-Ready" data.
π Intelligent Tools
get_ontology_summary: Quick high-level overview of the loaded schema.search_classes/search_properties: Semantic-aware discovery.get_class_details: Detailed usage instructions & connectivity rules.list_available_facets: Smart ranking of components for complex data grouping.create_entity/set_property/attach_component: Atomic graph construction.validate_entity: Instant SHACL compliance check.export_graph: Save your validated knowledge graph to.ttl.
π Architecture
main.py: Entry point for the MCP server.mcp_server/engine.py: Core logic for ontology parsing, caching, and vector embedding calculations.mcp_server/server.py: Tool definitions and FastMCP server configuration.mcp_server/config.py: Persona instructions and environment defaults.
π Installation
Clone the repository.
Install dependencies:
pip install -r requirements.txtSet your ontology directory (path containing your
.ttlfiles):export ONTOLOGY_DIR="/path/to/your/ontology/folder"
π MCP Configuration
Add this configuration to your MCP-compatible client (e.g., Gemini, Claude Desktop, VS Code).
Configuration Template
{
"mcpServers": {
"universal-ontology-mcp": {
"command": "python",
"args": ["/absolute/path/to/universal-ontology-mcp/main.py"],
"env": {
"ONTOLOGY_DIR": "/absolute/path/to/your/ontology/folder"
}
}
}
}βοΈ License
This project is licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Shared semantic graph for AI reviews, classification and structured memory across AI assistants.
Governed, auditable knowledge your team curates for its AI assistants, self-hostable
Governed map of company knowledge for humans + agents.
Knowledge graph ingestion, entity search, ontology analysis, and CoSync scoring.