
numikel/law-scrapper-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
포괄적인 모델 Context Protocol (MCP) 서버는 Sejm API에서 폴란드어 법률 행위를 접근하고 분석하기 위해 AI-powered 법률 연구 및 문서 분석을 가능하게 합니다.
개요
포괄적인 모델 Context Protocol (MCP) 서버는 Sejm API에서 폴란드어 법률 행위를 접근하고 분석하기 위해 AI-powered 법률 연구 및 문서 분석을 가능하게 합니다. - Dziennik Ustaw (DU) 및 Monitor Polski (MP)의 폴란드어 법률 행위에 대한 전체 액세스 - 날짜, 유형, 키워드, 게시자 및 상태 - - - 저장소 검색 결과 및 필터 regex, 유형 / 통계 / 년 경기, 날짜 범위, 정렬 - -로드 효율적 측면 레벨 탐색 및 검색을위한 메모리로 작동 - Metadata, 구조, 참조, 및 콘텐츠 검색 - 자동 PDF-to-Mark-to-get-to-get-to-get-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-files-file-files-files-files-file-file-.
개요(AI 번역)
포괄적인 모델 Context Protocol (MCP) 서버는 Sejm API에서 폴란드어 법률 행위를 접근하고 분석하기 위해 AI-powered 법률 연구 및 문서 분석을 가능하게 합니다.
특징
-Comprehensive legal act access - Dziennik Ustaw (DU) 및 Monitor Polski (MP)의 폴란드어 법률 행위에 대한 전체 액세스 -Advanced search and filtering - 날짜, 유형, 키워드, 출판사 및 상태별 멀티 크리터리 검색 -Result chained filtering Store - regex, type/status/year match, date range, sorting 와 저장 결과 및 필터
- Document Store pattern - Load는 효율적인 부분 수준의 탐색 및 검색을 위한 메모리로 작동
- Detailed document analysis - 메타데이터, 구조, 참조 및 내용의 검색 -Content processing - 자동 PDF-to-text 및 HTML-to-Markdown 변환
- 일시 계산 - 법적 문서 분석에 대한 특수 날짜 유틸리티
- **시스템 메타데이터 ** - 키워드, 상태, 문서 유형 및 기관 데이터
- ** 공식 MCP SDK** -
mcp[cli]==2.2.0] 및MCPServer; STDIO 및 stateless Streamable 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"
}
}
}