OpenCrab logo

OpenCrab

Community
AlexAI-MCP

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

PublisherAlexAI-MCP
RepositoryOpenCrab
LanguagePython
Forks
35
Stars
114
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    OpenCrab exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    114 stars and 35 forks from the linked 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.

Use OpenCrab MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once OpenCrab is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add OpenCrab as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the OpenCrab MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "opencrab": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the OpenCrab MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the OpenCrab MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use OpenCrab to help me with this task?
OpenCrab
Sure. I read it.
Here is what I found using OpenCrab.

Frequently asked questions

What is the OpenCrab MCP server used for?

OpenCrab is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use OpenCrab MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use OpenCrab with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use OpenCrab MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With OpenCrab connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect OpenCrab MCP to TypingMind?

OpenCrab runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does OpenCrab MCP provide in TypingMind?

OpenCrab exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use OpenCrab MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If OpenCrab requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇