Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Openclaw Legal Query

FreeNot checked

🦞 OpenCLAW + Hermes Agent 中国企业案件信息智能查询 - 司法涉诉、企业背景、身份核查一站式查询方案

GitHubEmbed

About

🦞 OpenCLAW + Hermes Agent 中国企业案件信息智能查询 - 司法涉诉、企业背景、身份核查一站式查询方案

README

中国案件、信息智能查询系统

让 AI 助手用一句话查询企业涉诉、案件信息、失信记录、背景调查等 31 个数据模块。 同时支持 OpenCLAWHermes Agent 两种主流 AI 助手接入方案。

License: MIT OpenCLAW Hermes Agent Made by 析芒全迹


🌟 一句话查案件

配置完成后,对 AI 说一句话就能查到结果:

⚖️ "查某科技有限公司的涉诉案件"
🔍 "张三有没有失信案件记录?"
🏢 "查一下某建筑公司的资质信息"
✅ "验证王五的身份证信息"
🚗 "查车牌粤A12345的车辆信息"
💰 "查看我的剩余查询额度"

🚀 快速开始(60 秒接入)

1️⃣ 获取 API Key

  1. 下载 析芒全迹 APP 并注册登录
  2. 在「我的」页面完成 专业人员证件认证
  3. 进入「我的 → AI 智能查询」— 点击「立即开启」
  4. 复制生成的 API Key(格式:xmqj_u1_xxxxxxxx...

💡 新用户注册即送免费查询额度,可直接体验。

2️⃣ 选择接入方式

🦞 方式一:OpenCLAW 接入

在 OpenCLAW 的 mcp_servers.json 中添加:

{
  "mcpServers": {
    "case-query": {
      "url": "https://xmqjglht.top/api/claw/v1",
      "headers": {
        "X-API-Key": "xmqj_u1_你的Key"
      },
      "type": "openclaw"
    }
  }
}
🤖 方式二:Hermes Agent 接入

在 Hermes Agent 的 ~/.hermes/config.yaml 中添加自定义 Tool:

tools:
  case_query:
    type: http
    method: POST
    url: https://xmqjglht.top/api/claw/v1/query
    headers:
      X-API-Key: xmqj_u1_你的Key
    body:
      module_code: "{{module}}"
      params: {{params}}
    description: 析芒全迹 - 查询企业涉诉、案件信息、背景调查数据

  case_modules:
    type: http
    method: POST
    url: https://xmqjglht.top/api/claw/v1/modules
    headers:
      X-API-Key: xmqj_u1_你的Key
    description: 获取所有可查询模块列表

  case_quota:
    type: http
    method: POST
    url: https://xmqjglht.top/api/claw/v1/quota
    headers:
      X-API-Key: xmqj_u1_你的Key
    description: 查询剩余查询额度

配置完成后,对 Hermes Agent 说:

"帮我查一下张三的失信记录" "查某科技有限公司有哪些涉诉案件"

📡 方式三:curl / API 直调
# 查询企业涉诉案件
curl -X POST https://xmqjglht.top/api/claw/v1/query \
  -H "X-API-Key: xmqj_u1_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "module_code": "enterprise_litigation",
    "params": {"company_name": "某科技有限公司"}
  }'

📡 API 端点

所有端点使用 POST 方法,认证方式为请求头 X-API-Key

端点 说明
/api/claw/v1/modules 获取所有可查询模块列表
/api/claw/v1/query 执行案件信息查询(核心接口)
/api/claw/v1/quota 查询剩余查询额度

请求格式(query):

{
  "module_code": "dishonest_person",
  "params": {
    "name": "张三",
    "id_card": "110101199001011234"
  }
}

响应格式:

{
  "success": true,
  "data": {
    "result": { ... },
    "cost": 1,
    "quota_remaining": { "free": 8, "paid": 5 }
  }
}

💻 多语言调用示例

🐍 Python 示例(完整可运行)
import requests

API_BASE = "https://xmqjglht.top/api/claw/v1"
API_KEY = "xmqj_u1_your_api_key_here"
HEADERS = {"X-API-Key": API_KEY, "Content-Type": "application/json"}

# 查询企业涉诉案件
result = requests.post(f"{API_BASE}/query", headers=HEADERS, json={
    "module_code": "enterprise_litigation",
    "params": {"company_name": "某科技有限公司"}
}).json()
print(result)
🟢 Node.js 示例
const axios = require('axios');

const result = await axios.post('https://xmqjglht.top/api/claw/v1/query', {
  module_code: 'enterprise_litigation',
  params: { company_name: '某科技有限公司' }
}, {
  headers: { 'X-API-Key': 'xmqj_u1_your_api_key_here' }
});

console.log(result.data);
🔷 Go 示例
package main
import (
    "bytes"     "encoding/json"     "fmt"     "net/http"
)
func main() {
    body, _ := json.Marshal(map[string]interface{}{
        "module_code": "enterprise_litigation",
        "params": map[string]string{"company_name": "某科技有限公司"},
    })
    req, _ := http.NewRequest("POST", "https://xmqjglht.top/api/claw/v1/query",
        bytes.NewBuffer(body))
    req.Header.Set("X-API-Key", "xmqj_u1_your_api_key_here")
    // ... (完整示例见 examples/ 目录)
}

完整可运行的示例脚本见 examples/ 目录。


📦 全部 31 个查询模块

类别 模块
⚖️ 案件查询 ✅ 企业涉诉查询 · 企业涉诉(详版含判项) · 个人涉诉查询 · 个人涉诉(详版) · 失信被执行人 · 被执行人查询 · 限制高消费 · 终本案件查询 · 裁判文书检索 · 法院案件详情 · 劳动仲裁查询
🏢 企业信息查询 ✅ 企业工商信息 · 企业模糊查询 · 企业资质查询 · 企业工程资质 · 名下关联企业 · 对公账户开户行
身份核查 ✅ 身份证核验 · 银行卡三要素 · 银行卡四要素 · 运营商查询 · 婚姻状态匹配
💳 信用信息查询 ✅ 社保缴纳评估 · 个税收入评估 · 综合不良信息 · 综合多头查询
🚗 车辆信息查询 ✅ 车辆五项信息 · 名下车辆查询 · 人车核验
🧮 查询工具 ✅ 利息计算器 · 迟延履行利息计算

📌 最新上线:双人婚姻状态匹配、名下关联企业查询、企业涉诉详版(含判项详情)


❓ 常见问题

如何获取 API Key?

下载 析芒全迹 APPxmqj.top),注册登录后完成 专业人员证件认证,然后进入「我的 → AI 智能查询」即可生成。每个账号可生成多个 Key 用于不同 AI 助手。

支持哪些 AI 助手?

已兼容 OpenCLAWHermes AgentOpenAI Function CallingClaude Tool Use 等主流方案。也支持 curl、Python requests 等任何 HTTP 客户端直调。

查询如何收费?

按模块设置按次扣费(cost_per_query),每个模块费用公开透明,价格低廉。每个 API Key 每月上限 500 次。新用户注册送免费额度,可直接体验。

数据来源可靠吗?

数据来源于多个官方权威数据源,确保真实可靠,查询结果与 APP 内一致。

Key 丢了怎么办?

在 APP 中撤销丢失的 Key,然后创建新 Key。系统不存明文 Key,丢失后无法找回。


🔗 相关链接


📄 License

MIT

from github.com/tukihibiki/openclaw-legal-query

Installing Openclaw Legal Query

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/tukihibiki/openclaw-legal-query

FAQ

Is Openclaw Legal Query MCP free?

Yes, Openclaw Legal Query MCP is free — one-click install via Unyly at no cost.

Does Openclaw Legal Query need an API key?

No, Openclaw Legal Query runs without API keys or environment variables.

Is Openclaw Legal Query hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Openclaw Legal Query in Claude Desktop, Claude Code or Cursor?

Open Openclaw Legal Query on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Openclaw Legal Query with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs