Logo vun OpenCrab

OpenCrab

Communautéit
AlexAI-MCP

MetaOntology OS MCP Plugin ? All agent environments evolve toward ontology-structured forms

EditeurAlexAI-MCP
RepositoryOpenCrab
SproochPython
Forks
35
Stären
114
Disponibel Tools
0
Transporttypstdio
Linken
  • Tools mat KI-Workflows verbannen

    OpenCrab stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    114 Stären an 35 Forks aus dem verlinkte Repository.

OpenCrab

LocalCrab builds. OpenCrab SaaS distributes.

OpenCrab is the public integration repository for the LocalCrab ontology factory and the OpenCrab hosted ecosystem at opencrab.sh.

This repository contains the local engine: MetaOntology OS grammar, MCP tools, CrabHarness evidence collection, local stores, promotion lifecycle, and pack export contracts. It does not contain the private implementation of the hosted opencrab.sh SaaS product.

Any sample app or API code in this repository is local/demo infrastructure for developer testing. It is not the production opencrab.sh SaaS code.

What This Repo Is For

LayerRoleLives here?
LocalCrabLocal ontology factory for crawling, parsing, evidence indexing, Neo4j validation, and ZIP pack export.Yes
CrabHarnessMission-first control plane for crawler planning, worker delegation, evidence validation, and promotion packages.Yes
MetaOntology OSCanonical grammar, schemas, ReBAC, identity/canonicalization, promotion lifecycle, and MCP server tools.Yes
OpenCrab SaaSHosted ingestion, marketplace, profiles, MCP access, community, and paid/free pack circulation.No, linked via opencrab.sh

The intended flow:

text
source material or crawl target
        |
        v
CrabHarness mission planning
        |
        v
evidence collection + OCR/CLIP indexing
        |
        v
MetaOntology grammar extraction
        |
        v
Neo4j/Cypher validation
        |
        v
OpenCrab Pack v1 ZIP
        |
        v
opencrab.sh ingest + marketplace + ecosystem distribution

LocalCrab and OpenCrab SaaS

LocalCrab is quality-first. It exists to produce ontology packs with strong evidence coverage, traceable parsing, OCR/CLIP context, graph validation, and promotion receipts.

OpenCrab SaaS is ecosystem-first. It exists to ingest packs, make them useful to users and agents, distribute them through marketplace/community surfaces, and expose hosted MCP access.

Read the full relationship model:

Quick Start

1. Install LocalCrab

bash
pip install -e ".[dev]"

2. Run LocalCrab

bash
opencrab serve

LocalCrab runs locally by default. It uses SQLite, JSON files, and a local Chroma persistent store under ./opencrab_data.

3. Verify the grammar and query path

bash
opencrab status
opencrab manifest
opencrab query "system performance and error rates"

3-1. Ingest documents (Kordoc 4.x)

PDF, HWP/HWPX, DOCX, XLSX and PPTX are parsed with Kordoc 4.x; Markdown and other text files are read directly.

bash
npm install --global kordoc@latest      # 4.x is required for HWPX, DOCX and XLSX
opencrab ingest ./reports -r            # parses documents, then indexes the text
opencrab extract ./reports -r --dry-run # LLM extraction over the same parsed text

KORDOC_BIN (or --kordoc-bin) selects another Kordoc command, for example npx kordoc. Files Kordoc cannot parse are reported and skipped, never indexed empty. The MCP tool ontology_ingest also accepts path to read a local file the same way.

4. Add LocalCrab as an MCP server

bash
claude mcp add opencrab -- opencrab serve

Or add it manually:

json
{
  "mcpServers": {
    "opencrab": {
      "command": "opencrab",
      "args": ["serve"]
    }
  }
}

CrabHarness

crabharness/ is the mission-first control plane for evidence collection. It plans what to crawl, delegates heavy work to plugin workers, validates the collected bundle, and emits OpenCrab-ready promotion packages.

Core responsibilities:

  • Decide crawl target, scope, depth, volume, rate limits, and success criteria.
  • Store every collected page, document, file, image, and log as evidence.
  • Preserve hashes, source URLs or paths, crawl timestamps, parser status, and missing-context candidates.
  • Promote only after completeness, semantic relevance, and autoresearch gates pass.

See the CrabHarness README.

MetaOntology OS

LocalCrab keeps the existing MetaOntology OS grammar and MCP surface as the canonical ontology contract.

9 Spaces

SpaceRole
subjectActors with identity, agency, roles, and permissions.
resourceDocuments, datasets, tools, APIs, files, and projects.
evidenceRaw observations, logs, text units, parser/OCR outputs, and empirical records.
conceptEntities, concepts, topics, classes, and domain abstractions.
claimDerived assertions grounded by evidence.
communityClusters and summaries of related concepts or actors.
outcomeKPIs, risks, impacts, and measurable results.
leverTunable controls that affect outcomes or concepts.
policyAccess, sensitivity, approval, and governance rules.

Core MCP Tools

  • ontology_manifest: return the full grammar.
  • ontology_add_node: add or update a grammar-validated node.
  • ontology_add_edge: add a grammar-validated edge.
  • ontology_query: hybrid vector + BM25 + graph query.
  • ontology_impact: I1-I7 impact analysis.
  • ontology_rebac_check: relationship-based access check.
  • ontology_ingest: ingest text into the local ontology stores.
  • harness_promotion_apply: apply a CrabHarness promotion package.

OpenCrab Pack v1

LocalCrab exports ontology deliveries as an OpenCrab Pack v1 ZIP. The pack is designed to be recognized by OpenCrab SaaS while remaining reproducible in a local Neo4j environment.

Required high-level layout:

text
manifest.json
graph/nodes.jsonl
graph/edges.jsonl
evidence/index.jsonl
quality/report.json
neo4j/import.cypher
neo4j/opencrab_ingest.jsonl
neo4j/export_status.json
README.md
sample_queries.json
community_reports.json

The packaging pipeline is:

text
validate -> Neo4j import/check -> Neo4j graph export -> normalized SaaS export -> ZIP package

See OpenCrab Pack v1 ZIP format.

Development

bash
make dev-install
make seed
make test
make status

Run integration tests:

bash
OPENCRAB_INTEGRATION=1 pytest tests/ -v

Project Structure

text
opencrab/
  grammar/        MetaOntology grammar, validator, glossary
  schemas/        YAML type schemas, schema packs, action schemas
  ontology/       builder, query, identity, canonicalization, promotion, ReBAC
  execution/      workflow and approval runtime
  billing/        local usage hooks
  stores/         Neo4j, Chroma, Mongo, SQL, and local adapters
  mcp/            MCP server and tool registry
crabharness/
  crabharness/    mission planner, runtime, validation, promotion package builder
  codex_workers/  plugin workers for crawlers and collectors
  missions/       example missions
docs/             public integration and pack delivery contracts

Korean Summary

이 리포지토리는 LocalCrab과 OpenCrab SaaS를 하나의 제품처럼 설명하는 공개 통합 리포지토리입니다. LocalCrab은 온톨로지 공장입니다. 크롤링, 파싱, OCR, CLIP 이미지 컨텍스트, evidence 풀 인덱싱, Neo4j 검증, ZIP 팩 생성을 담당합니다.

OpenCrab SaaS는 opencrab.sh의 생태계 허브입니다. 완성된 팩을 인제스트하고, 마켓플레이스와 커뮤니티에서 배포하며, hosted MCP 접근을 제공합니다. 단, opencrab.sh의 내부 SaaS 코드는 이 공개 리포지토리에 포함하지 않습니다.

License

MIT.

OpenCrab MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal OpenCrab verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

OpenCrab als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu OpenCrab an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "opencrab": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu OpenCrab. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu OpenCrab.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat OpenCrab?
OpenCrab
Jo. Ech hunn et gelies.
Dat hunn ech mat OpenCrab fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server OpenCrab benotzt?

OpenCrab ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech OpenCrab MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir OpenCrab mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat OpenCrab MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann OpenCrab verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech OpenCrab MCP mat TypingMind?

OpenCrab leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt OpenCrab MCP an TypingMind zur Verfügung?

OpenCrab stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir OpenCrab MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann OpenCrab eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇