Skip to main content
Glama
dbsectrainer

mcp-legal-doc-analyzer

by dbsectrainer

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DBNoPath to the SQLite database file used to store document analysis history.~/.mcp/legal.db
OCRNoEnable OCR fallback for scanned PDFs that contain no extractable text layer. Requires the optional peer dependencies tesseract.js, pdfjs-dist, and canvas.false
HTTP_PORTNoStart the server in Streamable HTTP mode on the given port instead of stdio.
TEMPLATESNoDirectory to load custom YAML compliance rule templates from. Templates in this directory are merged with the built-in set.
NO_HISTORYNoDisable storing document analysis results in the local database.false
CLAUSE_PATTERNSNoPath to a YAML file defining custom clause detection patterns.
BULK_CONCURRENCYNoNumber of files to process in parallel when using bulk_analyze.4
CONFIDENCE_THRESHOLDNoMinimum confidence score (0–1) for extracted clauses to be included in results. Extractions below this threshold are flagged as low-confidence.0.6

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources