Skip to main content
Glama
Edition Intelligence Platform

Edition Intelligence Platform

EDITION 인텔리전스 플랫폼

일본에서 운영되는 AI 에이전트를 위한 필수 인프라.

메모리 API + 규정 확인 API + 절차적 지식 + MCP 서버 — 일본 비즈니스 환경에 최적화되어 구축되었습니다.


문제점

일본 기업과 협업하는 AI 에이전트는 일반적인 도구로는 해결할 수 없는 장벽에 부딪힙니다:

  • 경어(敬語): *"ワインをお持ちすれば喜ばれるかと存じます"*와 같은 문장은 주어를 생략하고, 다층적인 높임말을 사용하며, 불확실성을 표현합니다. 일반적인 NLP는 이를 노이즈로 처리합니다.

  • 암묵적 합의: 일본 비즈니스 커뮤니케이션은 직접적으로 말하는 경우가 드뭅니다.

  • 규제 미로: 10개 이상의 산업 분야에서 국가 및 지자체 규정이 중첩되어 있으며, 대부분의 문서는 일본어로만 제공됩니다.

  • 지속적 컨텍스트 부재: 에이전트는 세션 간의 모든 정보를 잊어버립니다.

Related MCP server: Torify — Japanese Locale APIs for AI Agents

주요 기능

1. 메모리 API — 일본어 인식 지속적 메모리

경어 분석, 사회적 위계 감지, 신뢰도 점수를 사용하여 에피소드를 저장하고 구조화된 사실을 자동으로 추출합니다.

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

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

3계층 아키텍처:

  • 에피소드 — 원시 대화 로그

  • 사실(Facts) — 구조화된 지식 (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

Available Tools

31 tools
calendar_checkA
Read-onlyIdempotent

日本のビジネスカレンダー情報を検索します。祝日、決算期、贈答シーズン、行政締切、季節性ビジネスの5カテゴリ。

Inputs: query (required).

calendar_listA
Read-onlyIdempotent

日本のビジネスカレンダーの全カテゴリ一覧を取得します。

Inputs: no named parameters.

daily_life_listA
Read-onlyIdempotent

日本の日常生活知識のトピック一覧を取得します。

Inputs: no named parameters.

disaster_listA
Read-onlyIdempotent

日本の災害・安全知識のトピック一覧を取得します。

Inputs: no named parameters.

entertainment_listA
Read-onlyIdempotent

日本のエンタメ知識のトピック一覧を取得します。

Inputs: no named parameters.

food_listA
Read-onlyIdempotent

日本の食文化知識のトピック一覧を取得します。

Inputs: no named parameters.

foreign_entry_checkB
Read-onlyIdempotent

外国企業・外国人の日本進出に必要な基盤知識を検索します。法人設立、経営管理ビザ、銀行口座開設、物件探し、税務届出、従業員雇用(労働法・解雇規制・社会保険)の6カテゴリ。

Inputs: query (required).

foreign_entry_listA
Read-onlyIdempotent

外国企業・外国人の日本進出に関する知識カテゴリの一覧を取得します。

Inputs: no named parameters.

language_listB
Read-onlyIdempotent

日本語知識のトピック一覧を取得します。

Inputs: no named parameters.

memory_contextA
Read-onlyIdempotent

現在のセッション状態(有効な事実・合意事項のサマリー)を取得します。エージェントのプロンプトに注入して文脈を維持するために使います。

Inputs: session_id.

memory_extractA
Idempotent

テキストからファクト(主語→述語→目的語の三つ組)を自動抽出します。日本語の敬語・主語省略・社会的階層を分析して構造化します。store=trueにすると抽出結果をメモリに永続保存します(書き込み発生)。store=false(デフォルト)なら読み取り専用で、保存せずに抽出結果のみ返します。memory_storeとの違い: memory_storeはエピソード全体を保存、memory_extractはテキストからファクトのみを抽出。

Inputs: text (required), store, context_hint.

memory_factsA
Read-onlyIdempotent

現在有効なファクト(構造化された事実)の一覧を取得します。ファクトは「主語→述語→目的語」の三つ組で、確度と有効期限を持ちます。

Inputs: valid_only.

memory_recallA
Read-onlyIdempotent

過去の記憶をセマンティック検索で呼び出します。「前回の会議で○○部長が仰った件」のような曖昧な日本語クエリにも対応します。

Inputs: query (required), limit.

memory_storeA

会話やイベントのエピソードを永続記憶に保存します。日本語の文脈(敬語レベル、主語省略、暗黙の了解)も構造化して保持します。auto_extract=trueにすると、テキストからファクト(主語→述語→目的語の三つ組)を自動抽出します。

Inputs: content (required), role, session_id, auto_extract.

organization_checkA
Read-onlyIdempotent

日本の組織構造・商慣行を検索します。役職体系、系列、支払慣行、契約慣行、業界団体。

Inputs: query (required).

organization_listA
Read-onlyIdempotent

日本の組織構造・商慣行の全カテゴリ一覧を取得します。

Inputs: no named parameters.

protocol_checkA
Read-onlyIdempotent

日本のビジネスプロトコル(根回し、稟議、報連相、名刺交換、席順、贈答)を検索します。

Inputs: query (required).

protocol_listA
Read-onlyIdempotent

日本のビジネスプロトコルの一覧を取得します。

Inputs: no named parameters.

regional_checkA
Read-onlyIdempotent

日本の地域別ビジネス情報を検索します。主要都市の特性、自治体の助成金・補助金、地域条例、商慣習の違い。

Inputs: query (required).

regional_listA
Read-onlyIdempotent

日本の地域別ビジネス情報の全カテゴリ一覧を取得します。

Inputs: no named parameters.

regulation_checkA
Read-onlyIdempotent

特定のビジネスアクションに必要な日本の規制・許認可情報を回答します。10業種の詳細データベース + 訪日旅行者向け規制に対応。

Inputs: action (required), industry, entity_type.

regulation_industriesA
Read-onlyIdempotent

日本の規制データベースに登録されている業種の一覧を取得します。

Inputs: no named parameters.

regulation_touristA
Read-onlyIdempotent

訪日旅行者向けの規制・マナー情報のカテゴリ一覧を取得します。ビザ、免税、交通、宿泊、医療、マナーの6カテゴリ。

Inputs: no named parameters.

travel_listA
Read-onlyIdempotent

日本の旅行知識のトピック一覧を取得します。

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 31 tools

    Disambiguation5/5

    Each tool targets a distinct domain or function, with clear boundaries between categories like calendar, disaster, food, and memory. Even the general search tool is explicitly for cross-domain queries, avoiding ambiguity with domain-specific searches.

    Naming Consistency4/5

    Most tools follow a consistent domain_action pattern (e.g., calendar_check, daily_life_search). Memory tools use a different but internally consistent memory_ prefix, and the single 'search' tool stands out. Overall, the pattern is mostly predictable.

    Tool Count3/5

    With 31 tools, the server is on the heavier side for a single platform. While the breadth of Japanese business and cultural knowledge justifies many tools, the count still feels slightly bloated, especially with many list/search pairs.

    Completeness4/5

    The tool surface covers a wide range of domains relevant to Japanese business and culture, including memory management. However, it lacks update or delete operations for any domain, limiting write functionality beyond memory storage.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      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
      75 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      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