Skip to main content
Glama
CAPTW

imo-rules-mcp

by CAPTW

⚓ imo-rules-mcp

自带语料库,让规则留在本地。

一个只读 MCP 服务器,用于在本地提供的 IMO 监管语料库上进行离线语义搜索、关键词搜索、文档检索、引文遍历和结构化浏览。

MCP Runtime Mode Corpus

工具 · 搭建语料库 · 权利边界 · 完整技术参考


服务器是开放的。语料库的授权、存储与保护则由你全权负责。

imo-rules-mcp 向兼容 MCP 的客户端开放本地海事文书语料库,无需爬取网络,也不会重新分发法规文本。

MCP 工具

工具

用途

imo_semantic_search

基于含义的检索,返回排序后的法规、面包屑、片段和文档键。

imo_keyword_search

对标题或正文进行字面搜索。

imo_get_document

检索一条规范化法规,附带导航上下文和引用。

imo_list_instruments / imo_browse

浏览文书、章节和法规。

imo_get_citations

跟踪向外的交叉引用。

imo_stats

检查语料库覆盖范围和索引状态。

Related MCP server: Markdown RAG MCP

架构

flowchart LR
    A["Licensed local corpus"] --> B["SQLite documents"]
    A --> C["TOC tree"]
    A --> D["Local embedding index"]
    B --> E["MCP server"]
    C --> E
    D --> E
    E --> F["Offline MCP client"]

快速开始

安装:

npm install

导入兼容的导出语料库:

node scripts/import-corpus.mjs /path/to/KRcrawl

启动 stdio 服务器:

npm start

本仓库附带了一个仓库级的 .mcp.json,供支持项目本地 MCP 配置的主机使用。

语料库与权利边界

本仓库仅包含服务器代码,不会附带 SOLAS、MARPOL、STCW、IMO 规则或任何其他法规语料库。

  • 只提供你已获授权使用的材料。

  • corpus/ 目录排除在版本控制之外。

  • 请勿发布或重新分发专有法规文本。

  • 如果某个便捷捆绑包包含语料库数据,请将该仓库设为私有,并落实适用的权利管控措施。

  • 服务器代码的许可并不授予语料库相关权利。

运行时约定

  • 仅提供只读工具。

  • 无爬虫,也不要求网络路径。

  • 语义搜索按需加载本地模型/索引。

  • 其他工具直接操作本地语料库结构。

  • 语料库的完整性、时效性、解释及法律效力仍由外部负责。

完整技术参考

原始详细 README——包括预期的语料库布局、环境变量、客户端配置以及逐个工具的行为说明——保持不变,位于:

README.technical.2026-08-25.md

许可证

服务器代码采用 MIT 许可。语料库数据不在此许可范围内。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    3
    16
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides semantic search over markdown documentation using RAG, allowing natural language queries and integration with MCP clients.
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides tools for ingesting documents into a local vector database and retrieving relevant information via semantic search, enabling retrieval-augmented generation for MCP clients.
    6
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables local document question-answering and retrieval via MCP, supporting multi-turn conversation, intent recognition, and tools for document search, Q&A, and summarization.
    5
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CAPTW/imo-rules-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server