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"
      }
    }
  }
}

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.0.tar.gz (34.4 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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pkulaw_mcp_law_search-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9ba445240b8ef2cc0728d7825b45bf91773766630ad312192934525ffc895b6
MD5 7c4d7bf0ee33a9b5c936fa2b5216c807
BLAKE2b-256 76879417a4fb05ff546c8225f460e8e11516f26de0a4c9eeee7e4d837702473b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pkulaw_mcp_law_search-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d414c1efdb8182e47abd367c40b2eb708ccc98e66f16f78315b698141c8aa9d
MD5 53105a820beb20df263e53e2dbc4b67a
BLAKE2b-256 b18add6b43d7a9bd71bcf8fd190af38d4e056bccbfff31e8e7e548cc3914250c

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