Skip to main content

PKULAW MCP server for law search

A MCP server for law search presented by PKULAW.

Functions

This MCP server provides functions to search law and regulations powered by PKULAW. This search is semantic search, leveraging embeddings.

Use in MCP client

Use following conf to add to local MCP client:

{
  "mcpServers": {
    "pkulaw-mcp-law-search": {
      "command": "uvx",
      "args": ["pkulaw-mcp-law-search"],
      "env": {
        "PKULAW_API_KEY": "your_pkulaw_api_key"
      }
    }
  }
}

For API key, please contact: fxtj@chinalawinfo.com.

In LLM chat, first enable this MCP server, and input like followings:

  • 法律中关于危险货物的定义是什么?
  • 请给出以下法规的内容:危险货物道路运输安全管理办法。

If the MCP client fail to invoke, you may need to explictly enable tool calling, like:

  • 请使用工具回答,法律中关于危险货物的定义是什么?

Metadata

Release files for pkulaw-mcp-law-search 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pkulaw-mcp-law-search 0.1.1
File Size Uploaded Provenance
pkulaw_mcp_law_search-0.1.1.tar.gz 34.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pkulaw-mcp-law-search 0.1.1
File Interpreter ABI Platform
pkulaw_mcp_law_search-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.3 kB

Release files / pkulaw_mcp_law_search-0.1.1.tar.gz

Download URL pkulaw_mcp_law_search-0.1.1.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
03a4a9ed752d4a88bcf2af1b5eda129d8447f70908917f1d2175f276e8488707
BLAKE2b-256 checksum
How to use checksums
e69e88a4ca6e1400bf9014abca0caf757fc387b5ce25cfe2db142ec560388cc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11

Release files / pkulaw_mcp_law_search-0.1.1-py3-none-any.whl

Download URL pkulaw_mcp_law_search-0.1.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ee3abb035241d47a57fa0c4cc48ddef8368eb2f82c89b6c8673f1286ca665c8
BLAKE2b-256 checksum
How to use checksums
50908ae2664068472796fc0372bd591736d014a254d3e18ce749272199d75941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.11

Security for pkulaw-mcp-law-search 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page