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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkulaw_mcp_law_search-0.1.0.tar.gz.
File metadata
- Download URL: pkulaw_mcp_law_search-0.1.0.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ba445240b8ef2cc0728d7825b45bf91773766630ad312192934525ffc895b6
|
|
| MD5 |
7c4d7bf0ee33a9b5c936fa2b5216c807
|
|
| BLAKE2b-256 |
76879417a4fb05ff546c8225f460e8e11516f26de0a4c9eeee7e4d837702473b
|
File details
Details for the file pkulaw_mcp_law_search-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pkulaw_mcp_law_search-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d414c1efdb8182e47abd367c40b2eb708ccc98e66f16f78315b698141c8aa9d
|
|
| MD5 |
53105a820beb20df263e53e2dbc4b67a
|
|
| BLAKE2b-256 |
b18add6b43d7a9bd71bcf8fd190af38d4e056bccbfff31e8e7e548cc3914250c
|