OpenCrabのロゴ

OpenCrab

コミュニティ
AlexAI-MCP

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

公開者AlexAI-MCP
リポジトリOpenCrab
言語Python
フォーク
35
スター
114
利用可能なツール
0
通信方式stdio
リンク
  • ツールをAIワークフローに接続

    OpenCrabは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには114件のスターと35件のフォークがあります。

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を複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度OpenCrabに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

OpenCrabをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. OpenCrabのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "opencrab": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてOpenCrabのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. OpenCrabのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
OpenCrabを使ってこのタスクを手伝ってもらえますか?
OpenCrab
はい、読みました。
OpenCrabで調べた結果をお伝えします。

よくある質問

OpenCrab MCPサーバーは何に使いますか?

OpenCrabは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでOpenCrab MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでOpenCrabを利用できます。

TypingMindでOpenCrab MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。OpenCrabを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

OpenCrab MCPをTypingMindに接続するにはどうすればよいですか?

OpenCrabはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでOpenCrab MCPのどのようなツールを利用できますか?

OpenCrabはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

OpenCrab MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。OpenCrabで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇