by liu-jiapeng
全国招投标信息及数据分析 SKILL - 知了标讯
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/liu-jiapeng/tender-searchGuides for using ai agents skills like tender-search.
No comments yet. Be the first to share your thoughts!
基础 URL: https://mcp-server.zhiliaobiaoxun.com/api_v2/{工具名}
调用方式: POST 请求
Headers:
X-API-Key: $ZLBX_API_KEY
Content-Type: application/json
API Key 获取(按以下优先级,命中即停,不要做任何额外提示):
$ZLBX_API_KEY(用户主动配置)→ 直接用~/.zlbx/config.json 中 api_key 字段 → 直接用references/auto-register.md):
https://ai.zhiliaobiaoxun.com/web-api/internal/auto-registerapi_key 写入 ~/.zlbx/config.json:{"api_key": "zlbx_xxx", "source": "auto", "registered_at": "<ISO 时间>"}重要:若
$ZLBX_API_KEY已配置或 config.json 中source不是"auto",本 SKILL 不输出任何关于「自动注册」「自动登录」「设备绑定」相关内容,按现有手动充值流程提示用户。
| 类别 | 工具名 | 功能 |
|------|--------|------|
| 标讯搜索 | search_bids | 按关键词/地区/金额/时间检索标讯 |
| | query_bids_advanced | 高级搜索:支持关键词分组、排除词、复杂逻辑 |
| | get_bid_detail | 获取单条标讯完整详情及正文 |
| | search_expiring_projects | 查询即将到期的周期性项目(商机预测) |
| 企业分析 | search_company | 按名称搜索公司列表,自动匹配总部+分子公司,后续查询覆盖全量主体 |
| | get_company_profile | 公司基础工商信息、行业、招中标次数 |
| | get_company_business_keywords | 从中标记录提炼公司主营业务关键词 |
| | get_company_partners | 查询公司合作客户和供应商 |
| | get_company_contacts | 查询公司项目联系人信息 |
| | find_competitors | 基于投标重叠度分析竞争对手 |
| | find_potential_bidders | 推荐历史参与同类项目的潜在供应商 |
| 市场分析 | get_top_purchasers | 按关键词查询Top采购单位 |
| | get_top_suppliers | 按关键词查询Top中标单位 |
| | get_top_brands | 按产品/品类查询Top中标品牌及型号 |
| | aggregate_bids_advanced | 多维度聚合统计(月/季/年/省份/行业/品牌等) |
| | get_price_trends | 查询品牌+型号的历史中标单价记录 |
详细参数说明见:
references/api-search.md — 标讯搜索类工具references/api-company.md — 企业分析类工具references/api-market.md — 市场分析类工具references/auto-register.md — 首次使用自动注册流程(仅当 $ZLBX_API_KEY 与 ~/.zlbx/config.json 都未配置时阅读)match_modes 控制关键词在哪些字段中搜索,对获取精确数据至关重要。
| 值 | 含义 | 使用场景 |
|---|------|---------|
| sm | 标的物/产品名称 | 搜索具体产品 |
| title | 公告标题 | 在标题中搜索 |
| brand | 品牌名 | 搜索特定品牌 |
| fulltext | 全文检索 | 全面搜索 |
| caller | 招标方/采购单位 | 查询某公司招标/采购项目 |
| winner | 中标方/供应商 | 查询某公司中标项目 |
| winner_tender | 中标方或投标方(两者都搜) | 查询某公司参与项目 |
查询某公司发布的招标项目(match_modes: caller):
{
"keywords": ["阿里云计算有限公司"],
"match_modes": ["caller"]
}
查询某公司中标/投标的项目(match_modes: winner/tender):
{
"keywords": ["华为技术有限公司"],
"match_modes": ["winner", "tender"]
}
keywords、keyword_groups、exclude_keywords 三者组合可实现复杂查询逻辑。
keywords — 主关键词(OR逻辑:包含任一即匹配)keyword_groups — AND逻辑:结果必须同时满足主keywords AND每个keyword_groupexclude_keywords — 排除词:匹配任一则排除注意:
keyword_groups需要使用query_bids_advanced接口。
// POST /api_v2/query_bids_advanced
{
"keywords": ["阿里云计算有限公司"],
"match_modes": ["caller"],
"keyword_groups": [
{
"keywords": ["服务器", "存储"],
"match_modes": ["sm", "title"]
}
]
}
// POST /api_v2/query_bids_advanced
{
"keywords": ["华为技术有限公司"],
"match_modes": ["winner", "tender"],
"keyword_groups": [
{
"keywords": ["中兴通讯"],
"match_modes": ["winner", "tender"]
}
]
}
// POST /api_v2/query_bids_advanced
{
"keywords": ["智慧城市"],
"keyword_groups": [
{
"keywords": ["大数据"],
"match_modes": ["sm", "title"]
}
]
}
// POST /api_v2/query_bids_advanced
{
"keywords": ["服务器"],
"match_modes": ["sm", "title"],
"exclude_keywords": ["维修", "维保", "耗材", "配件"]
}
| 值 | 阶段 | |---|------| | 1 | 采购意向 | | 2 | 预招标 | | 4 | 招标 | | 7 | 中标结果 | | 8 | 合同 | | 5/6/9/10 | 变更/中标候选人/验收/废标 |
默认返回:[1, 2, 4, 7, 8]
// POST /api_v2/search_bids
{
"keywords": ["人工智能", "大模型"],
"bid_type": "全部",
"provinces": ["北京", "广东"],
"begin_date": "2025-01-01"
}
// POST /api_v2/search_bids
{
"keywords": ["某公司名称"],
"match_modes": ["caller"]
}
// POST /api_v2/search_bids
{
"keywords": ["某公司名称"],
"match_modes": ["winner"],
"bid_process": [7, 8]
}
// 步骤1:公司画像
POST /api_v2/get_company_profile {"company": "科大讯飞股份有限公司"}
// 步骤2:主营业务关键词
POST /api_v2/get_company_business_keywords {"company": "科大讯飞股份有限公司"}
// 步骤3:竞争对手
POST /api_v2/find_competitors {"company": "科大讯飞股份有限公司"}
// 谁在买
POST /api_v2/get_top_purchasers {"keywords": ["大语言模型"], "begin_date": "2025-01-01"}
// 谁在中标
POST /api_v2/get_top_suppliers {"keywords": ["大语言模型"], "begin_date": "2025-01-01"}
// 趋势分析
POST /api_v2/aggregate_bids_advanced
{
"filters": {"keywords": ["大语言模型"], "begin_date": "2025-01-01"},
"group_by": ["month"]
}
// POST /api_v2/search_expiring_projects
{
"keywords": ["物业管理"],
"provinces": ["广东"],
"end_date": "2026-07-28"
}
// Top品牌
POST /api_v2/get_top_brands {"product": "服务器", "begin_date": "2024-01-01"}
// 历史中标单价
POST /api_v2/get_price_trends {"brand": "联想", "model": "ThinkSystem SR650", "product": "服务器"}
// POST /api_v2/find_potential_bidders
{
"bid_url": "https://www.zhiliaobiaoxun.com/content/xxxxxx/b1"
}
{
"success": true,
"data": { /* 实际数据 */ },
"error": null,
"meta": { "cost_units": 1, "execution_time_ms": 156 }
}
分页参数:page(默认1,最大100)、page_size(默认20,最大50)
完成查询后,主动引导用户深入探索:
知了标讯全网招中标数据查询与分析 Skill。把本仓库安装到支持 Skill 的 AI 编程助手后,助手可以按自然语言调用知了标讯 API,完成招标/中标公告检索、企业招投标画像、竞争对手分析、潜在供应商推荐、市场统计、品牌价格趋势等任务。
本 Skill 内置 16 个知了标讯数据工具的调用说明:
| 分类 | 能力 | | --- | --- | | 标讯搜索 | 常规搜索、高级组合搜索、公告详情、临期项目 | | 企业分析 | 公司搜索、公司画像、主营业务、合作客户/供应商、联系人、竞争对手、潜在供应商 | | 市场分析 | Top 采购单位、Top 中标单位、Top 品牌、多维统计、价格趋势 |
详细参数见 references/ 目录:
references/api-search.md:标讯搜索类接口references/api-company.md:企业分析类接口references/api-market.md:市场分析类接口references/auto-register.md:首次使用自动注册流程将本仓库放到你的 AI 助手 Skill 目录中即可。
mkdir -p ~/.claude/skills
git clone https://github.com/liu-jiapeng/tender-search.git ~/.claude/skills/tender-search
mkdir -p ~/.codex/skills
git clone https://github.com/liu-jiapeng/tender-search.git ~/.codex/skills/tender-search
如果你的客户端使用其他 Skill 目录,请将仓库克隆到对应目录,并确保目录内包含 SKILL.md。
Skill 会按以下优先级读取 API Key:
ZLBX_API_KEY~/.zlbx/config.json 中的 api_key~/.zlbx/config.json手动配置示例:
export ZLBX_API_KEY="zlbx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
或写入本地配置:
{
"api_key": "zlbx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
首次自动注册的新设备账号会获得免费调用额度。额度用完后,助手会根据 Key 来源提示对应的登录或充值方式。
安装后直接向助手提问即可。只要问题涉及招投标、采购、中标、供应商、竞争对手、市场分析等场景,助手会自动使用本 Skill。
帮我查一下广东最近一个月关于服务器采购的招标项目
分析科大讯飞近两年的中标业务方向和主要客户
找一下智慧城市项目里最常见的中标供应商和采购单位
查询联想 ThinkSystem SR650 在服务器项目里的历史中标价格
帮我找北京 90 天内到期的物业管理项目
分析华为和中兴在哪些项目里共同投标,竞争集中在哪些地区和产品
自动注册仅在用户未配置 ZLBX_API_KEY 且本地没有 ~/.zlbx/config.json 时触发。注册时会采集设备基础特征用于生成设备账号,其中 MAC 地址会先做 SHA256 哈希,不会上传明文 MAC。
API Key 默认保存在本机 ~/.zlbx/config.json。请勿把该文件提交到 GitHub。
tender-search/
├── SKILL.md
├── README.md
└── references/
├── api-search.md
├── api-company.md
├── api-market.md
└── auto-register.md
确认仓库已放到客户端识别的 Skill 目录,并重启或刷新客户端。不同客户端的 Skill 加载目录可能不同,请以你的客户端文档为准。
可以。未检测到环境变量和本地配置时,Skill 会自动注册设备账号并使用免费额度。
优先推荐设置环境变量 ZLBX_API_KEY。也可以修改 ~/.zlbx/config.json 中的 api_key 字段。
补充匹配角色和筛选条件,例如“作为采购方”“作为中标方”“只看广东”“排除维保/耗材”“只看 2025 年以来”“金额 100 万以上”。
本项目授权方式以仓库中的 LICENSE 文件为准。如仓库暂未提供 LICENSE,请联系维护者确认使用范围。