Skip to main content
Glama
hiroshic9-png

Edition Intelligence Platform

EDITION インテリジェンス・プラットフォーム

日本で活動するAIエージェントのための、欠けていたインフラストラクチャ。

メモリAPI + 規制チェックAPI + 手続き知識 + MCPサーバー — 日本のビジネス環境に特化して構築されています。


課題

日本企業と連携するAIエージェントは、汎用ツールでは解決できない壁に直面します:

  • 敬語: *「ワインをお持ちすれば喜ばれるかと存じます」*のような文章は、主語を隠し、重層的な敬語を使い、不確実性を表現します。汎用的なNLPでは、これらはノイズとして扱われます。

  • 暗黙の合意: 日本のビジネスコミュニケーションでは、物事を直接的に表現することは稀です。

  • 規制の迷宮: 10以上の業界で国や自治体の規制が重複しており、そのほとんどのドキュメントは日本語のみです。

  • 永続的なコンテキストの欠如: エージェントはセッション間で全てを忘れてしまいます。

Related MCP server: japan-ux-mcp

本プラットフォームの機能

1. メモリAPI — 日本語を理解する永続的メモリ

エピソードを保存し、敬語分析、社会的階層の検出、信頼度スコアリングを用いて構造化された事実を自動抽出します。

Input:  "佐藤部長にはワインをお持ちすれば喜ばれるかと存じます"

Output:
  Subject:    佐藤 (役職: 部長)
  Predicate:  好む
  Object:     ワイン
  Keigo:      Level 2 (尊敬語)
  Hierarchy:  superior
  Confidence: 0.7 (推測 — not stated as fact)
  Tense:      present

3層アーキテクチャ:

  • エピソード — 生の会話ログ

  • 事実 — 構造化された知識(LLMにより自動抽出)

  • コンテキスト — エンティティ/トピックごとの要約された状態

2. 規制API — 10業界 + 観光ルール

以下を網羅する構築済みの規制データベース:

  • ECサイト、不動産、人材派遣、飲食、建設

  • 医療、金融、運輸、教育、宿泊

  • 観光カテゴリー:ビザ、免税、乗り継ぎ、医療、マナー

全10業界にステップバイステップの手続きガイドが含まれています(合計65ステップ) — 何を、どのように、どこで、必要な書類、費用、タイムライン、よくある落とし穴を網羅しています。

curl -X POST /api/v1/regulation/check \
  -d '{"industry": "food_service", "query": "What licenses do I need to open a restaurant in Tokyo?"}'

3. MCPサーバー — Claude、Cursor等のための8つのツール

ツール

説明

memory_store

エピソードの保存 + 事実の自動抽出

memory_recall

エピソード間のセマンティック検索

memory_facts

構造化された事実のリスト表示

memory_context

コンテキスト要約の取得

memory_extract

テキストからの事実抽出

regulation_check

業界ごとの規制チェック

regulation_industries

対象業界のリスト表示

regulation_tourist

観光規制の検索

クイックスタート

バックエンド

git clone https://github.com/hiroshic9-png/edition.git
cd edition
python3 -m venv venv && source venv/bin/activate
pip install fastapi 'uvicorn[standard]' pydantic sqlalchemy aiosqlite chromadb python-dotenv google-genai

# Set your LLM key (any one of these)
echo 'GEMINI_API_KEY=your_key' > .env
# or ANTHROPIC_API_KEY or OPENAI_API_KEY

python -m uvicorn backend.api.main:app --reload
# → http://localhost:8000/docs

MCPサーバー (Claude Desktop / Cursor用)

cd mcp-server && npm install && npm run build && npm start

claude_desktop_config.json に追加:

{
  "mcpServers": {
    "edition": {
      "command": "node",
      "args": ["/path/to/mcp-server/dist/index.js"],
      "env": {
        "EDITION_API_URL": "http://localhost:8000",
        "EDITION_API_KEY": "your_api_key"
      }
    }
  }
}

APIエンドポイント

メモリ

メソッド

エンドポイント

説明

POST

/api/v1/memory/episodes

エピソードの保存 (事実の自動抽出には auto_extract=true を設定)

POST

/api/v1/memory/episodes/search

セマンティック検索

POST

/api/v1/memory/facts

事実の追加

GET

/api/v1/memory/facts

事実のリスト表示

GET

/api/v1/memory/context

コンテキスト要約

POST

/api/v1/memory/extract

テキストからの事実抽出

規制

メソッド

エンドポイント

説明

POST

/api/v1/regulation/check

規制チェック (10業界 + LLM RAG)

GET

/api/v1/regulation/industries

業界リスト

GET

/api/v1/regulation/tourist

観光カテゴリー

技術スタック

レイヤー

技術

API

FastAPI (Python)

メモリストア

SQLite + ChromaDB (ベクトル検索)

MCP

TypeScript SDK v1.29

LLM

Gemini / Claude / GPT (事実抽出 + RAG)

なぜ Mem0 / Letta / Zep ではないのか?

これらは優れた汎用メモリツールですが、以下の機能がありません:

  • 日本語の敬語レベル(丁寧語 / 尊敬語 / 謙譲語)の解析

  • 敬語パターンからの暗黙的な社会的階層の検出

  • 日本語の話し方に基づく信頼度スコアリング(断定 vs 推測 vs 伝聞)

  • 日本の規制データベースの包含

このプロジェクトが存在する理由は、日本のビジネス環境は構造的に異なっており、それをナビゲートするためには専用に構築されたインフラストラクチャが必要だからです。

ライセンス

MIT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides Japanese UX conventions as an MCP server to help AI generate correct Japanese UI elements like proper name order, furigana, phone formats, and polite language. It includes tools for form generation, validation, keigo suggestions, and cultural adaptation for developers building Japanese-facing products.
    6
    214
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Torify gives AI agents the Japanese locale primitives that standard libraries lack — imperial era date conversion (wareki), qualified invoice number validation with NTA registry lookup, corporate number lookup (法人番号), postal code resolution, name romanization (Hepburn), and kanji-to-kana conversion via Yahoo! JLP. 31 endpoints total. No authentication required for MCP. Pay-per-call $0.02/call via
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Japan geodata: cadastral lot numbers (chiban) and reverse geocoding, for AI agents.

  • Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.

  • Raw Japanese regulatory data for AI agents: pension, gazette, gBizINFO. x402-metered (USDC).

View all MCP Connectors

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/hiroshic9-png/edition-api'

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