About Owl MCP
Owl MCP is an MCP server published by ai4curation in the AI category: mCP server for OWL applications. Conduid read 19 tools from its source: add_axiom, add_axiom_by_name, add_axioms, add_prefix, add_prefix_by_name, configure_ontology and 13 more. No package is published for it, so it installs from a source checkout.
The repository has 22 stars and 7 forks, and its last commit was on 5 Jun 2025. The latest release is v0.1.2 (30 May 2025). It follows v0.1.1 (15 May 2025), and the 3 most recent releases go back to v0.1.0 (15 May 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass License declared and Scoped permissions. Its topics include owl.
Install
git clone https://github.com/ai4curation/owl-mcpTools (19)
add_axiomAdd an axiom to the ontology using OWL functional syntax.| Parameter | Type | Description |
|---|---|---|
| axiom_str * | string | String representation of the axiom in OWL functional syntax e.g., "SubClassOf(:Dog :Animal)" |
| owl_file_path * | string | Absolute path to the OWL file |
add_axiom_by_nameAdd an axiom to a configured ontology using its name.| Parameter | Type | Description |
|---|---|---|
| axiom_str * | string | String representation of the axiom in OWL functional syntax |
| ontology_name * | string | Name of the ontology as defined in configuration |
add_axiomsAdds a list of axioms to the ontology, using OWL functional syntax.| Parameter | Type | Description |
|---|---|---|
| axiom_strs * | array | List of string representation of the axiom in OWL functional syntax e.g., ["SubClassOf(:Dog :Animal)", ...] |
| owl_file_path * | string | Absolute path to the OWL file |
add_prefixAdd a prefix mapping to the ontology.| Parameter | Type | Description |
|---|---|---|
| owl_file_path * | string | Absolute path to the OWL file |
| prefix * | string | The prefix string (e.g., "ex") |
| uri * | string | The URI the prefix maps to (e.g., "http://example.org/") |
add_prefix_by_nameAdd a prefix mapping to a configured ontology using its name.| Parameter | Type | Description |
|---|---|---|
| ontology_name * | string | Name of the ontology as defined in configuration |
| prefix * | string | The prefix string (e.g., "ex:") |
| uri * | string | The URI the prefix maps to (e.g., "http://example.org/") |
configure_ontologyAdd or update an ontology in the configuration.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI for labels (default: rdfs:label) |
| description | string | Optional description |
| metadata_axioms | array | List of metadata axioms as strings |
| name * | string | A unique name for the ontology |
| path * | string | Absolute path to the ontology file |
| preferred_serialization | string | Optional preferred serialization format |
| readonly | boolean | Whether the ontology is read-only (default: False) |
find_axiomsFind axioms matching a pattern in the ontology.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI to use for labels (defaults to rdfs:label) |
| include_labels | boolean | If True, include human-readable labels after ## in the output |
| limit | any | (int) Maximum number of axioms to return (default: 100) |
| owl_file_path * | string | Absolute path to the OWL file |
| pattern * | string | A substring or regex pattern to match against axiom strings (supports full Python regex syntax, e.g., r"SubClassOf.*:Animal") |
find_axioms_by_nameFind axioms matching a pattern in a configured ontology using its name.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI to use for labels (defaults to rdfs:label) |
| include_labels | boolean | If True, include human-readable labels after ## in the output |
| limit | any | Maximum number of axioms to return (default: 100) |
| ontology_name * | string | Name of the ontology as defined in configuration |
| pattern * | string | A string pattern to match against axiom strings |
get_all_axiomsGet all axioms in the ontology as strings.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI to use for labels (defaults to rdfs:label) |
| include_labels | boolean | If True, include human-readable labels after ## in the output |
| limit | any | Maximum number of axioms to return (default: 100) |
| owl_file_path * | string | Absolute path to the OWL file |
get_labels_for_iriGet all labels for a given IRI.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI to use for labels (defaults to rdfs:label if None) |
| iri * | string | The IRI to get labels for (as a string) |
| owl_file_path * | string | Absolute path to the OWL file |
get_labels_for_iri_by_nameGet all labels for a given IRI in a configured ontology.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI to use for labels (defaults to rdfs:label if None) |
| iri * | string | The IRI to get labels for (as a string) |
| ontology_name * | string | Name of the ontology as defined in configuration |
get_ontology_configGet configuration for a specific ontology.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the ontology |
list_configured_ontologiesList all ontologies defined in the configuration.load_and_register_ontologyLoad an ontology and register it in the configuration system in one step.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI for labels (default: rdfs:label) |
| create_if_not_exists | boolean | If True, create the file if it doesn't exist (default: True) |
| description | string | Optional description of the ontology |
| metadata_axioms | array | Optional list of metadata axioms to add to the ontology |
| name | string | Optional name for the ontology (defaults to filename stem) |
| owl_file_path * | string | Absolute path to the ontology file |
| preferred_serialization | string | Optional preferred serialization format |
| readonly | boolean | Whether the ontology should be read-only (default: False) |
ontology_metadataGet metadata about the ontology.| Parameter | Type | Description |
|---|---|---|
| owl_file_path * | string | Absolute path to the OWL file |
register_ontology_in_configRegister an existing ontology in the configuration system.| Parameter | Type | Description |
|---|---|---|
| annotation_property | string | Optional annotation property IRI for labels (defaults to current setting if loaded) |
| description | string | Optional description for the ontology |
| name | string | Optional custom name for the ontology (defaults to filename without extension) |
| owl_file_path * | string | Absolute path to the ontology file |
| preferred_serialization | string | Optional preferred serialization format |
| readonly | boolean | Whether the ontology should be read-only (defaults to current setting if loaded) |
remove_axiomRemove an axiom from the ontology using OWL functional syntax.| Parameter | Type | Description |
|---|---|---|
| axiom_str * | string | String representation of the axiom in OWL functional syntax |
| owl_file_path * | string | Absolute path to the OWL file |
remove_axiom_by_nameRemove an axiom from a configured ontology using its name.| Parameter | Type | Description |
|---|---|---|
| axiom_str * | string | String representation of the axiom in OWL functional syntax |
| ontology_name * | string | Name of the ontology as defined in configuration |
remove_ontology_configRemove an ontology from the configuration.| Parameter | Type | Description |
|---|---|---|
| name * | string | Name of the ontology to remove |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 362 words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 8 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
The repository's README runs to about 362 words, fetched a month ago. The original in the repository is authoritative.
Read full README