
numikel/law-scrapper-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Sejm API からポーランドの法的行為にアクセスし、分析するための包括的なモデルコンテキストプロトコル(MCP)サーバーは、AI による法的研究と文書分析を可能にします.
概要
Sejm API からポーランドの法的行為にアクセスし、分析するための包括的なモデルコンテキストプロトコル(MCP)サーバーは、AI による法的研究と文書分析を可能にします。 - - Dziennik Ustaw (DU) および Monitor によるポーランドの法的行為へのフルアクセス - 日付、タイプ、キーワード、パブリッシャー、およびステータスによるマルチ基準検索 - - 検索結果を保存し、regex、type/status/year マッチ、日付範囲、ソート - - - 効率的なセクションレベルのナビゲーションと検索のためのメモリに関数をロード - メタデータ、構造、参照、およびコンテンツ検索 - 自動PDF-to-text-text-to-text-text-text-text-to-text-status/year の変換、日付範囲、日付範囲、日付範囲 - - - - 効率的なドキュメント - mc------------------------------------------------------------------------------------------------------------------.
概要(AI 翻訳)
Sejm API からポーランドの法的行為にアクセスし、分析するための包括的なモデルコンテキストプロトコル(MCP)サーバーは、AI による法的研究と文書分析を可能にします。
##特徴
- 包括的な法的行動アクセス - Dziennik Ustaw (DU) および Monitor(MP) からのポーランドの法的行為へのフルアクセス
- 高度な検索とフィルタリング - 日付、タイプ、キーワード、パブリッシャー、ステータスによる複数の基準検索
- 結果 チェーンフィルタリング付きストア - 検索結果を保存し、regex、type/status/yearマッチ、日付範囲、ソート
- ドキュメントストアパターン - 効率的なセクションレベルのナビゲーションと検索のためのメモリに機能を読み込む
- 詳細な文書解析 - メタデータ、構造、参照、およびコンテンツ検索 -コンテンツ処理 - 自動PDF-テキストとHTML-to-Markdown変換
- 日付計算 - 法的文書分析のための専門化された日付ユーティリティ
- システムメタデータ - キーワード、ステータス、文書の種類、および機関データ
- 公式 MCP SDK - [
mcp[cli]==2.2.0と[MCPServerで構築された; STDIOとステートレスストリーミング可能なHTTP輸送
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Law Scrapper MCP
A comprehensive Model Context Protocol (MCP) server for accessing and analyzing Polish legal acts from the Sejm API, enabling AI-powered legal research and document analysis.
Features
- Comprehensive legal act access - Full access to Polish legal acts from Dziennik Ustaw (DU) and Monitor Polski (MP)
- Advanced search and filtering - Multi-criteria search by date, type, keywords, publisher, and status
- Result Store with chained filtering - Store search results and filter with regex, type/status/year match, date ranges, sorting
- Document Store pattern - Load acts into memory for efficient section-level navigation and search
- Detailed document analysis - Metadata, structure, references, and content retrieval
- Content processing - Automatic PDF-to-text and HTML-to-Markdown conversion
- Date calculations - Specialized date utilities for legal document analysis
- System metadata - Keywords, statuses, document types, and institution data
- Official MCP SDK - Built with
mcp[cli]==2.2.0andMCPServer; STDIO and stateless Streamable HTTP transports - Async HTTP client - Efficient httpx client with retry logic and connection pooling
- TTL caching - Intelligent response caching with configurable TTL
- Structured logging - JSON and text log formats for easy debugging
- Docker support - Containerized deployment with docker-compose
- Comprehensive documentation - Examples and clear parameter descriptions
Requirements
- Python: 3.13 or higher
- Package manager: uv (recommended) or pip
- Internet connection: Required for accessing Sejm API endpoints
- MCP-compatible tool: Cursor IDE, Claude Code, or other MCP clients
Installation
Using uv (recommended)
# Clone the repository
git clone https://github.com/numikel/law-scrapper-mcp.git
cd law-scrapper-mcp
# Install dependencies
uv sync
# Install with dev dependencies
uv sync --extra dev
Using pip
# Clone the repository
git clone https://github.com/numikel/law-scrapper-mcp.git
cd law-scrapper-mcp
# Install dependencies
pip install -e .
Using uvx (no installation required)
For quick testing without cloning the repository:
# Run the server directly from GitHub
uvx --from git+https://github.com/numikel/law-scrapper-mcp law-scrapper
Quick start
STDIO transport (default)
STDIO is the default transport for MCP communication. Start the server and connect from your MCP client:
# Run the server
uv run python -m law_scrapper_mcp
インストール
uvx --from git+https://github.com/numikel/law-scrapper-mcp law-scrapper設定
{
"mcpServers": {
"law-scrapper-mcp": {
"command": "law-scrapper"
}
}
}