Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
V

vigmarcarlo/OntoPrune

Neuro-Symbolic Context Pruning Middleware for Local SLMs & Coding Agents (85% token reduction, 6.7x faster TTFT on CPU, 0% hallucinations)

Before you install: no copy-paste command · license MIT · link reachable

First step: nothing runnable here yet - start from the repository: https://github.com/vigmarcarlo/OntoPrune

no SECURITY.md
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site

We have neither an install command nor a public remote endpoint from this repository, so we do not print a config. A made-up one is worse than none. How each client wires MCP up →

Star count
3 ★ · vigmarcarlo/OntoPrune · read from the GitHub search API · (checked 2026-11-13 20:00:50)
Source
collected from the punkpeye/awesome-mcp-servers list · type: MCP server
Harvest history
first seen 2026-10-23 · last seen 2026-11-14 · seen 26× · listed by 23 sources
Score
score 2,300 · 3 ★ · 23 sources · mcp
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository vigmarcarlo/OntoPrune;first catalogued 2026-10-23;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# OntoPrune

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Neuro-Symbolic Context Pruning Middleware for Local SLMs and Cloud LLMs
English | Español | 📄 Technical Whitepaper (PDF) | 📄 Whitepaper en Español (PDF)
OntoPrune is an ultra-lightweight ( Ret: ... |
| Flutter / Dart | .dart | tree-sitter-dart | abstract class ... { Ret method(); } |
| Java / Spring Boot | .java | tree-sitter-java | public interface ... { Ret method(); } |
| TypeScript / React | .ts, .tsx, .js | tree-sitter-typescript | export interface ... { method(): Ret; } |
## 🛠️ Usage Modes
### 1. Native Model Context Protocol (MCP) Server
OntoPrune runs out of the box as an MCP server (ontoprune-mcp) compatible with Claude Desktop, Cursor, Gemini CLI, or Antigravity IDE:
bash
ontoprune-mcp
Configuration in claudedesktopconfig.json:
json
"mcpServers": {
"ontoprune": {
"command": "ontoprune-mcp"
Exposed MCP Tools:
prunecontext(filepath, targetsymbol, format='stubs'): Extracts the minimal dependency contract resolving cross-file imports.
verifyresponse(responsecode, contractorfile): Deterministically validates generated code against authorized contracts.
### 2. Command Line Interface (CLI)
bash
# Prune a target method across multi-file projects:
ontoprune translate src/services/OrderService.java processOrder --format stubs
# Direct streaming pipeline with local Ollama:
ontoprune translate services/orderservice.py procesarorden | ollama run qwen2.5-coder:3b
# Deterministically verify LLM output against contract:
ontoprune check --file generatedsolution.py --contract contract.py
### 3. Python API
python
import ontoprune
# 1. Prune a multi-module project to a minimal typed contract
context = ontoprune.translate(
"services/orderservice.py",
target="procesarorden",
fmt="stubs",
multimodule=True,
print(context)
# 2. Verify model output against the contract
violations = ontoprune.check(llmcoderesponse, against=context)
if not violations:
print("Code is 100% compliant and free of hallucinations!")
## 🧪 Test Suite
bash
pytest tests/
# 46 passed in 1.40s
## 🔬 Reproduce Empirical Benchmarks
You can independently replicate the benchmark evaluation in isolated sandboxes on your machine:
bash
# 1. Quick deterministic validation in sandbox (no API key needed):
ontoprune benchmark --backend mock --analyze
# or via Make:
make benchmark-mock
# 2. Live evaluation against Google Gemini (requires GEMINIAPIKEY):
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/vigmarcarlo-ontoprune/)
Source
awesome · https://github.com/vigmarcarlo/OntoPrune
Browse by field
MCP servers
Traction
3 ★
Listed by
23 independent sources
added
today
Security policy
no SECURITY.md at the repository root (which does not mean it is unsafe)

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index