MCP

Case Knowledge is an MCP Server. It gives AI assistants (Claude, etc.) direct access to your legal cases and documents from connected source systems (e.g. Advoware), and supports configurable prompts.

URI scheme

All cases and connections are identified by URIs:

Type URI
Connection (catalogue) stplegaltwin://advoware/{catalogue}
Case stplegaltwin://advoware/{catalogue}/{caseId}

Example: stplegaltwin://advoware/MNAUJOKS/2026000022

Resources

Every case is available as an MCP resource at its case URI. The resource contains the full case JSON: metadata, documents list, events, participants, and AI-augmented summaries (if the case has been processed by Case Knowledge).

Tools

The server provides the following tools an AI assistant can call:

Tool Description
stp_ltck_get_connections Lists all connected source systems with their connection URIs.
stp_ltck_list_cases Lists cases, optionally filtered by connection, title, and a result limit.
stp_ltck_get_case Returns the case details (summary, participants, timeline, status) without the documents. Access is always verified against the source system.
stp_ltck_list_documents Returns the case’s documents with their summaries, without the per-document participants and events.
stp_ltck_get_document_metadata Returns the analyzed metadata of a single document: its summary, participants and timeline events.
stp_ltck_get_document_content Returns the text content of a document. Uses the processed full-text version when available; otherwise it extracts the text directly from the original document — so document content is available even before a case has been processed.
stp_ltck_search_documents Searches the documents within a case for content matching a query and returns the most relevant documents. Whether this is semantic (meaning-based) or lexical (keyword) search depends on the connected source system.
stp_ltck_get_timeline Returns the case timeline (events sorted by date).

Typical workflow

An AI assistant will typically follow this sequence:

  1. stp_ltck_get_connections — discover which catalogues are connected
  2. stp_ltck_list_cases — find the relevant case
  3. stp_ltck_get_case — load the case details
  4. stp_ltck_list_documents — load the case’s documents and their summaries
  5. stp_ltck_get_document_metadata — load a single document’s summary, participants and timeline
  6. stp_ltck_search_documents — find the most relevant documents in a case by content
  7. stp_ltck_get_document_content — read the content of individual documents

Prompts

Prompts are supported and configurable on both the tenant and personal level via the Case Knowledge UI.

Authentication

This MCP Server requires the scope lt.mcp2 or role LegalTwin.McpUser (no default group) and license legaltwin-mcp. It is available as a protected resource at https://common.stp-cloud.de/ai/legaltwinbff/mcp and supports stateless Streamable HTTP. To authenticate, an MCP host needs an STP.Identity client registration.

Related to