GenPark Clause References

제공된 텍스트에서 영어로 정의된 용어와 번호가 매겨진 조항 참조를 추출하고, 의존성 순환을 검사하며 정의를 확장합니다. 정규식 도우미이며, 법적 분석은 아닙니다.

문서

genpark-clause-references

Extract English defined terms and explicit numbered references from supplied contract text; inspect dependency cycles. Regex heuristics, not legal analysis.

Python 3.9+; standard library runtime; MIT license.

Install and run

Download genpark-clause-references.mcpb from GitHub Releases and install with an MCPB-compatible client. Python must be installed and available as python.

Alternatively clone this repository and configure an MCP stdio server with command python and arguments containing the absolute path to mcp_server.py.

Smithery listing

Tools

  • extract_defined_terms
  • map_clause_dependencies
  • detect_circular_references
  • resolve_and_expand_clause
  • run_benchmark_legal_resolution

Run python -m unittest discover -s tests for regression checks. The official MCP SDK integration check uses the development dependency mcp: python tests/check_mcp.py.

Limitations

These are deterministic helpers operating on supplied structured data, not machine-learning models. Input and output remain in the local process. No hosted endpoint, automatic file access or network access is required. State lasts only for the current process. Benchmark tools run synthetic examples in isolated state; their status is not a production-quality certification.

Use canonical Section N clause keys. References named Clause, Article or Paragraph are normalized to Section. The graph reports DFS back-edge cycles, not an exhaustive enumeration; defined terms use quoted English phrases.