dayicorp

Auction MCP — Development skill for Claude Code

Development community

京东+阿里司法拍卖 MCP server (Substrate tweak 调真机 sign + 公开 web API).

How to install Auction MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dayicorp/auction-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Auction MCP does

京东+阿里司法拍卖 MCP server (Substrate tweak 调真机 sign + 公开 web API).

Alternatives in Development

  • Create API — Scaffold a new API endpoint — route, handler, types, tests — wired into the server 335 ★
  • Codex OpenAI Proxy — Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility 124 ★
  • Claude For Commerce Examples — Shopify implementations of Anthropic's commerce-agents blueprint: a storefront shopping agent over UCP and Sig 111 ★

README

auction-mcp

![MCP](https://img.shields.io/badge/MCP-server-7C3AED) ![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue) ![License: MIT](https://img.shields.io/badge/license-MIT-green) ![Tests](https://img.shields.io/badge/tests-102%20offline%20%2B%2019%20live-brightgreen) ![Stars](https://img.shields.io/github/stars/dayicorp/auction-mcp?style=flat&label=★)

最后巡检:2026-09-25 · 离线测试 102/102 通过

司法拍卖实时查询 MCP server — **阿里拍卖 + 京东拍卖** 双端聚合, 纯 Python httpx, 零外部设备/桥.

解决什么问题

司法拍卖数据散落在阿里和京东**两个独立池**, 各自有 sign / 反爬 / 编码 vintage 错位 (阿里区县编码用 pre-2013, 现代数据集会**静默返全国乱掺垃圾**而不报错) / 价格单位不一 (阿里分 / 京东元) 等坑。LLM agent 想"查个法拍数据"自己面对这些坑会撞墙。

这个 MCP 把它们全在工具层封掉, **暴露给 agent 的就是干净的中文名 + 统一字段**:

search_judicial(province="广东", city="深圳市", district="福田区")
# → 双端并行打完, 价格降序, 单位归一到元, 每条带 platform 标源

核心特性

  • 双端聚合, 一次拿全量 — search_judicial 并行打阿里+京东, 价格降序合并, 单位归一到元, 加 platform 字段标源
  • 三级地区精准查询 — 全国 3146 区县 (阿里 legacy vintage) + 5344 区县 (京东), 中文名直传, 含 4 个直辖市的区县; 全量数据集往返零误解析
  • 反爬守门 — 阿里 server 不认编码时会静默返全国乱掺垃圾, 工具自动校验拒绝
  • 常驻自愈 — _m_h5_tk cookie 过期自动重 bootstrap; baxia 风控 HTML 返结构化错误不崩
  • 121 个 pytest 测试 — 102 项零网络 (单元/容错/协议层冒烟/全链路冒烟) + 19 项真打线上

Quick start

注册到 Claude (`~/.claude.json` 或 `claude_desktop_config.json`):

{
  "mcpServers": {
    "auction": {
      "type": "stdio",
      "command": "python3",
      "args": ["/path/to/auction-mcp/server.py"]
    }
  }
}
pip install -r requirements.txt        # 运行期: mcp (<2), httpx
pip install -r requirements-dev.txt    # + pytest, 跑测试才需要
pytest                                 # 102 项零网络: 单元 + 容错 + 冒烟 (协议层/全链路)
pytest --run-live                      # + 19 项集成 (真打 Ali/JD API)

⚠️ `mcp` 必须 `<2`. mcp 2.x 把 `FastMCP` 改名成 `MCPServer` 并移除了 `mcp.server.fastmcp`, 装到 2.x 会在 import 阶段直接失败.

工具 (6 个)

工具 参数 说明
⭐ search_judicial province?, city?, district?, page=1, limit=50 推荐默认调用 — 并行查 阿里+京东, 价格降序合并, 单位归一到元
`ali_search_