MCP.so
登录

Portuguese Legal Document PDF Metadata Extractor MCP Server

@geek2geeks

基本信息

分类

文件与存储

传输方式

stdio

作者

geek2geeks

关于 Portuguese Legal Document PDF Metadata Extractor MCP Server

MCP server for extracting metadata from Portuguese legal documents using advanced PDF processing and database architecture

#mcp-portuguese-legal-extractor#pdf-metadata#legal-documents

Portuguese Legal Document PDF Metadata Extractor MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Portuguese Legal Document PDF Metadata Extractor MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Portuguese Legal Document PDF Metadata Extractor?

A robust tool for extracting structured metadata from Portuguese legal document PDFs, specifically designed for European Case Law Identifier (ECLI) formatted documents. It provides high accuracy extraction with two extractor variants, confidence scoring, and field classification—suitable for legal document processing and validation.

How to use Portuguese Legal Document PDF Metadata Extractor?

Install with Python 3.8+ and pip install pdfplumber. Use via the CLI: python production_extractor.py "pdfs/document.pdf" -o "results/" for single files, or python production_extractor.py "pdfs/" -g "ground_truth/ground_truth.json" -o "results/" for batch processing with ground truth validation. The PortugueseLegalPDFExtractor class also offers a programmatic API for single or batch extraction.

Key features of Portuguese Legal Document PDF Metadata Extractor

  • High accuracy: 100% confidence, 96.84% exact match rate
  • Two extractor variants: production-ready and robust core engine
  • Works with or without ground truth data for confidence scoring
  • Clear field classification: missing vs. legitimately empty fields
  • Batch processing with detailed summaries and progress reporting
  • Command line interface with flexible options and quiet mode

Use cases of Portuguese Legal Document PDF Metadata Extractor

  • Batch extract metadata from a directory of Portuguese legal PDFs
  • Validate extracted metadata against a ground truth JSON for quality assurance
  • Extract ECLI identifiers and structured case information for legal research
  • Process and organize court documents with consistent field ordering

常见问题

1

What are the runtime requirements?

Python 3.8 or newer and the `pdfplumber` package. No other dependencies are required.

2

Does it require ground truth data to function?

No. Ground truth is optional—without it the tool uses heuristic-based scoring; with it, accuracy-based scoring is used.

3

What performance can I expect?

Overall confidence of 100%, exact match rate of 96.84% (153/158 populated fields), and processing speed of ~2‑3 seconds per document.

4

How does it handle missing or empty fields?

It distinguishes between fields that are legitimately empty and those that are missing due to extraction errors, assigning separate classification.

5

What extraction methods does it use?

Primary method is table‑based extraction; if that fails, a coordinate‑based fallback is used. The tool also leverages discovered patterns like fixed relative positions and consistent field sequence.

评论

文件与存储 分类下的更多 MCP 服务器