@reneturcios/procureport

中文文档
0.1.0发布于 2026/11/02MITES Module

Korean public procurement data: bid notices, awards, contracts, procurement statistics, the product catalogue and shopping-mall search, behind one CLI and stdio MCP server.

原始使用文档
文档目录7 节
  1. Configuration
  2. Install
  3. CLI
  4. MCP server
  5. Tools
  6. Development
  7. License

procureport

procureport opens up Korean public-procurement data — the Nara Market / data.go.kr API family — through one binary that serves a command-line interface and a stdio MCP server. It covers bid notices, successful bids (awards) and contracts, procurement statistics, the registered product catalogue, and the public shopping mall.

Configuration

API-calling tools need a service key:

export NARAMARKET_SERVICE_KEY=<your data.go.kr service key>

Calls go to data.go.kr-style endpoints under a base URL you can override with NARAMARKET_API_URL (default https://apis.data.go.kr). Requests are shaped as {base}/{service}/{operation}?serviceKey={key}&{params}.

Four tools are purely local — they answer from a built-in catalogue of the four API services and their operations, and work with nothing configured: server_info, get_all_api_services_info, get_api_operations, and get_data_exploration_guide. Every other tool checks for the service key first and fails with a clean error before any request is attempted when it is missing.

Install

npx @reneturcios/procureport server-info

Or run the container image:

docker run -i -e NARAMARKET_SERVICE_KEY=... ghcr.io/cloudcorprecords/procureport

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

procureport server-info
procureport services
procureport operations shopping_mall
procureport guide
procureport crawl chair --page 1 --page-size 20
procureport attributes PRD-42
procureport recent-bids --days 7 --business-type 물품
procureport successful-bids 공사
procureport statistics-year 2025
procureport search-mall monitor --company Acme

procureport --version

Exit codes: 0 on success, 1 when a call fails (including a missing service key or an upstream API error), 2 for usage errors.

MCP server

npx -y @reneturcios/procureport mcp

MCP client configuration:

{
  "mcpServers": {
    "procureport": {
      "command": "npx",
      "args": ["-y", "@reneturcios/procureport", "mcp"],
      "env": { "NARAMARKET_SERVICE_KEY": "<your data.go.kr service key>" }
    }
  }
}

Tools

Basic:

ToolInputWhat it returns
crawl_listquery (optional), page, page_size (optional)A page of the product list.
get_detailed_attributesproduct_id (required)The detailed attributes of one product.
server_info(none)Server identity, tool list, and service summary. Local.

Generic API access (each takes operation (required) and an optional params object):

ToolService
call_public_data_standard_apiBid notices, awards, and contracts.
call_procurement_statistics_apiProcurement statistics — 14 operations.
call_product_list_apiProduct catalogue — 12 operations.
call_shopping_mall_apiShopping mall — 9 operations.

Convenience:

ToolInputWhat it returns
get_recent_bid_announcementsdays, business_type (both optional)Bid notices over an automatically computed recent period.
get_successful_bids_by_business_typebusiness_type (required)Awards for a business type; a Korean name such as 물품, 용역, 공사 or 외자 is converted to its code automatically.
get_procurement_statistics_by_yearyear (required)Procurement statistics for one year.
search_shopping_mall_productsquery (required), company (optional)Shopping-mall products matching a name, optionally narrowed to one company.

Exploration:

ToolInputWhat it returns
get_all_api_services_info(none)All four services with their operations. Local.
get_api_operationsservice (required)The operations of one service. Local.
call_api_with_pagination_supportservice, operation (required), params, max_pages, page_size (optional)Items aggregated across pages until a short page or the page cap.
get_data_exploration_guide(none)A strategy guide for exploring the data. Local.

Argument schemas in this rebuild are documented reconstructions from the public README of the original server (tool names and descriptions are documented; the README does not publish full schemas). The built-in catalogue's service operation counts follow the public spec (statistics 14, product list 12, shopping mall 9); individual operation names within the catalogue are documented reconstructions too.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

版本与发布记录

@reneturcios/procureport 共发布 2 个版本,首次发布于 2026/11/02;过去 12 个月发布了 2 个版本。

版本发布日期距今
0.1.0latest2026/11/021 天前
0.0.0-stage2026/11/021 天前

关于 @reneturcios/procureport 的常见问题

@reneturcios/procureport 是什么?

韩国公共采购数据:招标公告、评标、合同、采购统计、产品目录和商场搜索,背后一个CLI和工作室MCP服务器。

如何安装 @reneturcios/procureport?

在项目目录运行 npm install @reneturcios/procureport,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 procureport,可以用 npx procureport 直接运行。

@reneturcios/procureport 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/reneturcios__procureport 是否存在。

@reneturcios/procureport 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@reneturcios/procureport 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@reneturcios/procureport 可以商用吗?

@reneturcios/procureport 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@reneturcios/procureport 还在维护吗?

最新版本 0.1.0 发布于 2026/11/02(1 天前);至今共发布 2 个版本,其中过去 12 个月发布了 2 个;首次发布于 2026/11/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。