MCP Hub
Back to servers

ontomics

Validated

MCP server that extracts domain ontologies — concepts, conventions, and naming.

Registry
Stars
1
Forks
1
Tools
19
Updated
Apr 3, 2026
Validated
Apr 23, 2026
Validation Details

Duration: 5.5s

Server: ontomics v0.3.1

Quick Install

npx -y @ontomics/ontomics

ontomics

Python Rust TypeScript JavaScript platform MCP MCP Registry Claude Code Codex pi

ontomics extracts domain knowledge from codebases to reduce LLM token consumption by 20x and time in agentic search by 10x. It gathers the concepts, naming conventions, and vocabulary embedded in your code and makes them queryable via MCP.

Benchmark

Tested with Claude Sonnet — same question, with and without ontomics.

"What does 'transform' mean in this codebase?" on voxelmorph (full transcript):

With ontomicsWithout
Tool calls119
Tokens~3.7k~76k
Time5s1m 15s
Answer qualityCompleteComplete

"What are the main domain concepts in this codebase?" on ScribblePrompt (full transcript):

With ontomicsWithout
Tool calls126
Tokens~3.7k~61.6k
Time~5s56s
Answer qualityCompleteComplete

Both conditions produced complete, correct answers. ontomics got there in one call.

What it does that search can't

Search tells you where a string appears. An LSP tells you where a symbol is defined and referenced. Neither answers: what are the domain concepts in this codebase? How do they relate? What naming conventions emerged? What changed in the domain vocabulary since last release?

ontomics builds a semantic index of your project's domain — clustering related symbols into concepts, detecting naming conventions from usage frequency, resolving abbreviations, and tracking how the vocabulary evolves over time. That index can be exported as a portable artifact to bootstrap conventions in other repos.

Install

Install once, available in every project. No configuration needed — ontomics auto-detects the repo and indexes it on first run.

Claude Code

npm (macOS/Linux):

npm install -g @ontomics/ontomics
claude mcp add -s user ontomics -- ontomics

macOS (Homebrew):

brew install EtienneChollet/tap/ontomics
claude mcp add -s user ontomics -- ontomics

Shell installer (macOS/Linux):

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/EtienneChollet/ontomics/releases/latest/download/ontomics-installer.sh | sh
claude mcp add -s user ontomics -- ontomics

From source:

git clone https://github.com/EtienneChollet/ontomics.git
cd ontomics
cargo build --release
claude mcp add -s user ontomics -- ontomics

pi-coding-agent

pi install npm:@ontomics/ontomics

Tools appear automatically as ontomics_* in pi config.

Share with your team — drop an .mcp.json in your repo root:

{
  "mcpServers": {
    "ontomics": {
      "command": "npx",
      "args": ["-y", "@ontomics/ontomics", "--repo", "."]
    }
  }
}

Supported languages

Python, TypeScript, JavaScript, Rust. Auto-detected from file extensions.

Tools

ToolWhat it does
query_conceptFind all variants, related concepts, and occurrences of a term
locate_conceptFind the key signatures, classes, and files for a concept
describe_symbolGet the signature, docstring, and relationships for a function or class
trace_conceptTrace how a concept flows through the codebase via call chains
list_conceptsList the top domain concepts by frequency
list_conventionsList all detected naming patterns (prefixes, suffixes, conversions)
list_entitiesList code entities (classes, functions) filtered by concept, role, or kind
check_namingCheck an identifier against project conventions; suggests the canonical form
suggest_nameGenerate an identifier name that fits the project's vocabulary
vocabulary_healthMeasure convention coverage, naming consistency, and cluster cohesion
ontology_diffShow new, changed, or removed domain concepts since a git ref
export_domain_packExport domain knowledge as portable YAML for use in other repos

Resources

ResourceWhat it does
ontomics://briefingSession briefing: top conventions, abbreviations, key concepts, contrastive pairs, and vocabulary warnings. Also available via ontomics briefing CLI.

How it works

ontomics parses every file in your repo, extracts identifiers and docstrings, clusters related terms by embedding similarity, and detects naming conventions through frequency analysis. The index lives at <repo>/.ontomics/index.db — subsequent startups load from cache and watch for changes.

Configuration via .ontomics/config.toml in the repo root. All fields have sensible defaults. See SPEC.md for the full design contract.

Reviews

No reviews yet

Sign in to write a review