Ontomics logo

Ontomics

by EtienneChollet

Indexes a local codebase for concepts, naming conventions, call relationships, type flows, and behaviorally similar functions.

Install Ontomics

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "etiennechollet-ontomics": {
      "command": "npx",
      "args": [
        "-y",
        "@ontomics/ontomics"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @ontomics/ontomics

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

EtienneChollet/ontomics MCP server builds a local semantic index of a Git repository so coding agents can query domain concepts, naming conventions, relationships, and similar implementations. It parses supported source files, combines TF-IDF, embeddings, clustering, and PageRank, then exposes the results through MCP tools and an optional briefing resource. Reach for it when ordinary search or an LSP does not provide enough context about a codebase's vocabulary, structure, or repeated logic.

Use cases

  • Explore the main domain concepts in an unfamiliar repository
  • Check whether a new identifier matches project naming conventions
  • Find functions with behavior similar to a known implementation
  • Trace a concept or type through files and call sites
  • Compare domain vocabulary changes against a Git reference

Key features

  • Semantic concept and vocabulary indexing
  • Naming convention detection and suggestions
  • Behavioral similarity search for functions
  • Call-chain and type-flow tracing
  • Ontology diffs and portable domain-pack export
  • Local MCP resource for repository briefings

Tools19

What Ontomics lets your agent do. Expand a tool for its parameters.

Self-reported~379 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 47d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @ontomics/ontomics (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars44Stargazers on the source repository.
npm downloads631Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed19Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Ontomics works

What EtienneChollet/ontomics MCP server does

EtienneChollet/ontomics MCP server gives coding agents a semantic view of a local repository. Instead of limiting queries to exact text matches or symbol references, it indexes domain concepts, naming patterns, code entities, relationships, type flows, and function behavior. The supported source languages are Python, TypeScript, JavaScript, and Rust, selected automatically from file extensions.

The index can help answer questions such as which concepts recur across a project, how a concept moves through call chains, which names fit established conventions, and which functions have similar implementations even when their names differ. It can also compare the indexed vocabulary with a Git reference and export domain knowledge as YAML for reuse in another repository.

How it works

The server runs its analysis locally and does not require API keys. Tree-sitter extracts identifiers, signatures, and call sites. TF-IDF then highlights domain-specific terms and naming patterns. BGE-small creates concept embeddings, while CodeRankEmbed creates 768-dimensional embeddings for function bodies and supports behavioral clustering. PageRank contributes structural-importance scores for entities.

Embedding models download on the first run and are cached locally. The resulting database is stored at <repo>/.ontomics/index.db. Later starts use the cached index and watch for file changes. A repository briefing is also available through the ontomics://briefing resource and the ontomics briefing command.

Setup and configuration

Install the binary through the published npm package, Homebrew, a shell installer, or a source build. The npm package is @ontomics/ontomics.

The server normally detects the repository automatically and requires no configuration. It expects a Git repository containing a .git/ directory and rejects home, root, and temporary directories. Use --force when indexing a non-Git directory. Project-specific settings belong in .ontomics/config.toml; defaults are provided for all fields.

Tools and capabilities

EtienneChollet/ontomics MCP server exposes tools in four groups:

  • Concept and vocabulary analysis: query, locate, describe, trace, and list concepts; inspect conventions; list entities; check or suggest names; measure vocabulary health; compare ontology changes; and export a domain pack.
  • Behavioral analysis: find similar logic, describe a function's logic, and assemble compact context for a symbol.
  • Codebase structure: describe files, map concepts to modules, inspect type flows, and trace types across files and call sites.
  • Session context: retrieve the ontomics://briefing resource with conventions, abbreviations, key concepts, contrastive pairs, and vocabulary warnings.

Limitations and notes

EtienneChollet/ontomics MCP server is intended for local codebase analysis rather than hosted repository access. Only Python, TypeScript, JavaScript, and Rust are listed as supported languages.

Initial indexing includes downloading the embedding models, so the first run differs from later cached starts. Non-Git directories require the explicit --force option. The benchmark reports one-call, lower-token results for selected questions, but those measurements are examples from specific codebases and do not establish performance for every project.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ontomics

Install the published npm package with `npm install -g @ontomics/ontomics`, or configure a project-level stdio server with `npx -y @ontomics/ontomics --repo .`.

Yes.

The documented languages are Python, TypeScript, JavaScript, and Rust.

By default, yes. It requires a `.git/` directory, but a non-Git directory can be indexed with `--force`.

The index is stored locally at `<repo>/.ontomics/index.db`, and later starts load it from cache.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOntomics AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/etiennechollet-ontomics?style=directory)](https://allmcps.com/mcp/etiennechollet-ontomics)
HTML Embed
<a href="https://allmcps.com/mcp/etiennechollet-ontomics"><img src="https://allmcps.com/api/badge/etiennechollet-ontomics?style=directory" alt="Ontomics on AllMCPs" /></a>