Skip to main content

PKULAW MCP server for law search

Project description

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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pkulaw_mcp_law_search-0.1.1.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pkulaw_mcp_law_search-0.1.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pkulaw_mcp_law_search-0.1.1.tar.gz.

File metadata

File hashes

Hashes for pkulaw_mcp_law_search-0.1.1.tar.gz
Algorithm Hash digest
SHA256 03a4a9ed752d4a88bcf2af1b5eda129d8447f70908917f1d2175f276e8488707
MD5 d7de566fd87832da3635792a388445e6
BLAKE2b-256 e69e88a4ca6e1400bf9014abca0caf757fc387b5ce25cfe2db142ec560388cc3

See more details on using hashes here.

File details

Details for the file pkulaw_mcp_law_search-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pkulaw_mcp_law_search-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee3abb035241d47a57fa0c4cc48ddef8368eb2f82c89b6c8673f1286ca665c8
MD5 8cc910235afb6a02357d7c0c6f9dcc53
BLAKE2b-256 50908ae2664068472796fc0372bd591736d014a254d3e18ce749272199d75941

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page