北大法宝-司法案例检索MCP服务

Pkulaw/pkulaw-mcp-law-case
2 Stars 637 次浏览 北大法宝 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "mcp_name": {
      "disabled": true,
      "headers": {
        "authorization": "bearer you_api_token"
      },
      "streamable": true,
      "type": "streamable-http",
      "url": "https://test-apim-gateway.pkulaw.com/mcp-case"
    }
  }
}

服务介绍

司法案例查询mcp服务说明文档

1. 简介

法宝案例查询mcp服务是一个基于 Model Context Protocol (MCP) 的北大法宝法律数据搜索服务。提供了简单的API接口,为用户提供法宝案例的查询服务。

MCP服务基于Streamable HTTP模式。

2.安装使用

使用支持MCP协议的AI客户端,添加mcp配置,在AI客户端中启用服务和工具,使用自然语言提问,大语言模型会根据输入内容调用MCP服务。

2.1 cherry studio 安装配置

  1. 点击Cherry Studio左下角'设置⚙️',进入左侧菜单中的'MCP 服务器'选项。

  2. 点击页面右上方的'+添加'按钮,按下面的mcp配置项选择配置,或点击'编辑🖊' 自动打开mcp.json配置文件。

  3. 在文件中粘贴MCP配置并保存(在合适位置插入,无需删除已有内容)。

  4. MCP设置界面启用成功即可使用。


 {
      "name": "mcp_server_name",
      "type": "streamableHttp",
      "description": "",
      "isActive": true,
      "tags": [],
      "baseUrl": "https://test-apim-gateway.pkulaw.com/mcp-case",
      "headers": {
        "Authorization": "bearer you_api_token"
    }
}

2.2 cursor 安装配置

  1. 点击Cursor右上角'设置⚙️',进入左侧菜单中的'MCP tools'选项。

  2. 点击页面右上方的'+添加'按钮, 自动打开mcp.json配置文件。

  3. 在文件中粘贴MCP配置并保存(在合适位置插入,无需删除已有内容)。

  4. MCP设置界面显示绿色原点即可使用。


{
    "mcpServers": {
        "mcp_name": {
            "type": "streamable-http",
            "streamable": true,
            "url": "https://test-apim-gateway.pkulaw.com/mcp-case",
            "headers": {
                "authorization": "bearer you_api_token"
            },
            "disabled": true
        }
    }
}

3. 接口列表

3.1 查询案例

get_case_list 通过标题或全文关键词查询案例

参数:

参数 类型 是否必填 描述
title string 标题关键词,标题和全文关键词至少填一个
fulltext string 全文关键词,标题和全文关键词至少填一个

示例:查询纠纷案中有关合同纠纷的案例

{
    "title": "纠纷案",
    "fulltext": "合同纠纷"
}

申请试用API Token,请联系: fxtj@chinalawinfo.com

相关 MCP 服务