Skip to main content
Glama
opendata-kr

@opendata-kr/narajangteo-bid-mcp

Official
by opendata-kr

@opendata-kr/narajangteo-bid-mcp

나라장터 입찰공고정보서비스(공공데이터포털 data.go.kr) Open API를 감싼 로컬 MCP 서버.

npm version CI node license

Claude Desktop 등 MCP 클라이언트에서 입찰공고를 자연어로 검색하고 조회한다. 예를 들어 이렇게 물어볼 수 있다.

  • "이번 주 올라온 용역 입찰 공고를 찾아줘"

  • "인천광역시에서 추정가격 5억 원 이상인 공사 입찰을 검색해줘"

  • "입찰공고번호 R25BK00932003 상세를 알려줘"

  • "그 공고의 기초금액과 참가 가능 지역을 알려줘"

  • "그 공고의 첨부파일을 내려받아 제안요청서 내용을 요약해줘"

  • "그 공고 첨부 중 과업지시서 본문을 읽어줘"

특징

  • 4개 업무구분 병렬 검색: 공사/용역/물품/외자를 한 번에 조회한다. 업무구분 미지정 시 기타(etc)를 제외한 4구분(공사/용역/물품/외자)을 동시 검색하며, 기타공고는 bidKindetc를 명시한다.

  • 첨부 다운로드·본문 읽기: 공고 첨부(공고문·규격서·제안요청서 등)를 디스크에 내려받고 ZIP은 풀어 파일 목록을 만든 뒤(download_attachments), 필요한 파일의 본문(HWPX·구형 HWP·구형 DOC)을 목록 인덱스로 읽는다(read_attachment).

  • 부분 실패 표면화: 일부 구분 조회가 실패해도 나머지 결과를 반환하고, 실패한 구분은 오류 메시지로 드러낸다(조용한 누락 없음).

  • data.go.kr 에러코드 한국어화: 인증키 만료, 트래픽 초과 등 결과코드를 조치 가능한 한국어 메시지로 정규화한다.

  • 이중 인코딩 방어: Encoding 키를 잘못 넣으면 경고하고, 요청은 한 번만 인코딩한다.

  • 타임아웃: API 호출에 타임아웃을 둔다.

Related MCP server: open-ALIO-mcp

준비물

  • Node.js 24 이상 (.nvmrc = lts/krypton).

  • data.go.kr 인증키:

    1. 공공데이터포털에서 나라장터 입찰공고정보서비스를 활용신청해 [승인]을 받는다. 인증키는 계정당 하나지만, 각 API는 저마다 활용신청 승인이 있어야 그 API에서 인증된다. 서비스키가 있어도 이 API를 활용신청하지 않으면 인증 오류(코드 30)가 난다.

    2. 마이페이지 → 활용신청 현황 → 개발계정 상세에서 Decoding 서비스키를 복사한다.

    3. 같은 DATA_GO_KR_SERVICE_KEY는 같은 계정으로 활용신청한 다른 data.go.kr API에도 재사용된다.

TIP

공공데이터포털이 처음이라면 활용신청부터 인증키 복사까지 그림으로 따라 하는data.go.kr 인증키 발급 가이드를 참고한다.

서비스키는 반드시 Decoding(원본) 키를 넣는다. Encoding(%2B 등 포함) 키를 넣으면 이중 인코딩으로 인증 오류(코드 30)가 난다.

MCP 클라이언트 설정

MCP 클라이언트에 아래 config를 추가한다:

{
  "mcpServers": {
    "narajangteo-bid": {
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-bid-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}
NOTE

@opendata-kr/narajangteo-bid-mcp@latest를 쓰면 클라이언트가 항상 최신 버전을 받는다.

IMPORTANT

DATA_GO_KR_SERVICE_KEY(필수, Decoding 원본 키)가 없으면 첫 호출이 인증 오류(코드 30)로 실패한다. 위 config의 env에 키를 넣는다. 원클릭 버튼이나 env를 config에 담지 못하는 클라이언트는 설치 후 셸 환경변수로 DATA_GO_KR_SERVICE_KEY를 설정한다.

클라이언트별 설정

amp mcp add narajangteo-bid -- npx -y @opendata-kr/narajangteo-bid-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Antigravity 문서의 커스텀 MCP 서버 추가 방법을 따라 아래 config를 MCP servers 설정에 넣는다:

{
  "mcpServers": {
    "narajangteo-bid": {
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-bid-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

Claude Code CLI로 서버를 추가한다 (가이드):

claude mcp add narajangteo-bid --scope user --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-bid-mcp@latest
codex mcp add narajangteo-bid --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-bid-mcp@latest

Windows

~/.codex/config.tomlcmd /c 래핑으로 추가한다:

[mcp_servers.narajangteo-bid]
command = "cmd"
args = ["/c", "npx", "-y", "@opendata-kr/narajangteo-bid-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }

Command Code CLI로 서버를 추가한다 (MCP 가이드):

cmd mcp add narajangteo-bid --scope user npx -y @opendata-kr/narajangteo-bid-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Continue의 MCP 가이드를 따른다. Continue는 mcpServers를 배열로 쓴다:

{
  "mcpServers": [
    {
      "name": "narajangteo-bid",
      "command": "npx",
      "args": ["-y", "@opendata-kr/narajangteo-bid-mcp@latest"],
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  ]
}

Copilot CLI를 시작한다:

copilot

MCP 서버 추가 대화를 연다:

/mcp add

다음 필드를 입력하고 CTRL+S로 저장한다:

  • Server name: narajangteo-bid

  • Server Type: [1] Local

  • Command: npx -y @opendata-kr/narajangteo-bid-mcp@latest

  • Environment variables: DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 .vscode/mcp.json(또는 사용자 설정)의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

직접 추가:

VS Code MCP 설정 가이드를 따르거나 CLI를 쓴다.

macOS·Linux:

code --add-mcp '{"name":"narajangteo-bid","command":"npx","args":["-y","@opendata-kr/narajangteo-bid-mcp@latest"],"env":{"DATA_GO_KR_SERVICE_KEY":"발급받은_Decoding_키"}}'

Windows(PowerShell):

code --add-mcp '{"""name""":"""narajangteo-bid""","""command""":"""npx""","""args""":["""-y""","""@opendata-kr/narajangteo-bid-mcp@latest"""],"""env""":{"""DATA_GO_KR_SERVICE_KEY""":"""발급받은_Decoding_키"""}}'

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 Cursor의 MCP 설정에서 envDATA_GO_KR_SERVICE_KEY를 추가한다.

직접 추가:

Cursor SettingsMCPNew MCP Server에서 위 config를 사용한다.

Factory CLI로 서버를 추가한다 (가이드):

droid mcp add narajangteo-bid "npx -y @opendata-kr/narajangteo-bid-mcp@latest"

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

Gemini CLI로 서버를 추가한다.

프로젝트 범위:

gemini mcp add narajangteo-bid npx -y @opendata-kr/narajangteo-bid-mcp@latest

전역:

gemini mcp add -s user narajangteo-bid npx -y @opendata-kr/narajangteo-bid-mcp@latest

또는 MCP 가이드를 따르고 위 config를 쓴다. ~/.gemini/settings.json의 서버 정의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

grok mcp add narajangteo-bid npx -y @opendata-kr/narajangteo-bid-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다. 더 많은 옵션은 문서 참고.

Settings | Tools | AI Assistant | Model Context Protocol (MCP)Add에서 위 config를 사용한다. Junie도 같은 방식으로 Settings | Tools | Junie | MCP SettingsAdd에서 위 config를 사용한다.

Katalon StudioAssist는 MCP 프록시를 통해 stdio 서버를 연결한다.

1단계: MCP 프록시 설정 가이드로 프록시를 설치한다.

2단계: 프록시로 서버를 띄운다(같은 셸에 DATA_GO_KR_SERVICE_KEY를 export 한 상태):

DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 mcp-proxy --transport streamablehttp --port 8080 -- npx -y @opendata-kr/narajangteo-bid-mcp@latest

3단계: StudioAssist에 다음 설정으로 서버를 추가한다:

  • Connection URL: http://127.0.0.1:8080/mcp

  • Transport type: HTTP

Kiro Settings에서 Configure MCPOpen Workspace or User MCP Config → 위 config를 사용한다.

또는 Activity BarKiroMCP ServersOpen MCP Config에서 위 config를 사용한다.

~/.vibe/config.toml에 추가한다:

[[mcp_servers]]
name = "narajangteo-bid"
transport = "stdio"
command = "npx"
args = ["-y", "@opendata-kr/narajangteo-bid-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }

opencode.json에 추가한다. 없으면 ~/.config/opencode/opencode.json에 만든다 (가이드):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "narajangteo-bid": {
      "type": "local",
      "command": ["npx", "-y", "@opendata-kr/narajangteo-bid-mcp@latest"],
      "environment": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

Qoder Settings에서 MCP Server+ Add → 위 config를 사용한다.

또는 MCP 가이드를 따르고 위 config를 쓴다.

Qoder CLI로 서버를 추가한다 (가이드):

프로젝트 범위:

qodercli mcp add narajangteo-bid -- npx @opendata-kr/narajangteo-bid-mcp@latest

전역:

qodercli mcp add -s user narajangteo-bid -- npx @opendata-kr/narajangteo-bid-mcp@latest

이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.

버튼으로 설치:

버튼은 키를 담지 못한다. 설치 후 서버 설정의 envDATA_GO_KR_SERVICE_KEY를 추가한다.

Settings | AI | Manage MCP Servers+ Add에서 MCP 서버를 추가하고 위 config를 사용한다.

~/.config/zed/settings.json에 추가한다(스키마는 Zed 버전에 따라 다를 수 있으니 Zed 공식 문서를 확인):

{
  "context_servers": {
    "narajangteo-bid": {
      "command": { "path": "npx", "args": ["-y", "@opendata-kr/narajangteo-bid-mcp@latest"] },
      "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
    }
  }
}

ChatGPT Developer Mode처럼 원격(HTTPS) MCP만 지원하는 클라이언트는 로컬 stdio 서버를 직접 붙일 수 없다. stdio→HTTP 브리지(mcp-proxy)로 이 서버를 HTTP로 띄우고 공개 HTTPS 엔드포인트(리버스 프록시·터널·호스팅)로 노출한 뒤, 그 URL을 커넥터로 등록한다.

DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 mcp-proxy --transport streamablehttp --port 8080 -- npx -y @opendata-kr/narajangteo-bid-mcp@latest

http://127.0.0.1:8080/mcp를 공개 HTTPS로 노출하는 것은 사용자 몫이다. (mcp-remote는 반대로 stdio 클라이언트를 원격 서버에 붙일 때 쓰는 도구라 여기엔 맞지 않는다.)

발견성

이 서버는 MCP 레지스트리에 io.github.opendata-kr/narajangteo-bid-mcp로 기술된다. registry.modelcontextprotocol.io를 지원하는 클라이언트에서 검색·설치할 수 있다.

환경변수

환경변수

필수

비밀

기본값

설명

DATA_GO_KR_SERVICE_KEY

(없음)

공공데이터포털 Decoding(원본) 인증키

DATA_GO_KR_BASE_URL

아니오

아니오

https://apis.data.go.kr/1230000/ad/BidPublicInfoService

서비스 경로를 포함한 전체 URL 오버라이드

DATA_GO_KR_DOWNLOAD_DIR

아니오

아니오

~/Downloads

download_attachments 저장 기준 디렉터리. 공고번호별 하위폴더로 저장

DATA_GO_KR_DOWNLOAD_TIMEOUT_MS

아니오

아니오

60000

download_attachments 파일 다운로드 타임아웃(ms)

DATA_GO_KR_DOWNLOAD_MAX_BYTES

아니오

아니오

104857600

download_attachments 파일당 다운로드 크기 상한(바이트, 기본 100MB)

도구

10개 도구 중 8개는 읽기 전용 조회(readOnlyHint: true)다. download_attachments·read_attachment는 첨부 파일을 디스크에 저장할 수 있어 읽기 전용이 아니다(readOnlyHint: false). 업무구분·항목별 병렬 조회 도구는 results에 조회 단위(업무구분 또는 항목 라벨)마다 성공 시 { status: "ok", totalCount, invalidCount, items }, 실패 시 { status: "error", error }를 담는다. 일부가 실패해도 나머지 결과는 반환하며(부분 실패 표면화), anySucceeded는 하나라도 성공했는지를 나타낸다. invalidCount는 응답 스키마 검증에서 탈락해 items에서 제외된 건수다. 0이 아니면 API 응답 필드가 예고 없이 바뀐 신호이므로 이슈로 알려주면 반영한다. 병렬 조회는 조회 단위 수만큼 API 요청을 소모하므로 업무구분을 알면 지정해 인증키 일일 트래픽을 아낀다.

도구

설명

search_bid_notices

키워드·기간·기관·지역·업종·추정가격으로 입찰공고 검색

get_bid_notice

입찰공고번호로 단건 상세 조회

get_bid_basis_amount

기초금액·평가기준금액·예비가격범위율 조회

get_bid_evaluation

낙찰가 산식A(합산항목)·평가주력분야 조회

get_bid_change_history

공고 변경이력(정정·변경 항목) 조회

get_bid_eligibility

면허제한·참가가능지역 조회

get_bid_items

구매대상물품(품명·수량·단가 등) 조회

get_bid_attachments

공고 첨부파일(공고문·규격서·제안요청서 등)의 파일명·URL 조회

download_attachments

첨부를 전부 디스크에 내려받고 ZIP은 풀어 읽을 수 있는 파일 목록(매니페스트) 반환 (파일 저장)

read_attachment

파일 목록의 index로 파일 하나의 본문 텍스트(HWPX·구형 HWP·구형 DOC) 읽기

search_bid_notices

키워드, 기간, 기관, 지역, 업종, 추정가격으로 입찰공고를 검색한다. 업무구분 미지정 시 기타(etc) 제외 4구분(공사/용역/물품/외자)을 병렬 검색한다.

파라미터

타입

설명

bidKind

string[]

업무구분 배열: cnstwk(공사) servc(용역) thng(물품) frgcpt(외자) etc(기타). 미지정 시 기타 제외 4구분(API 요청 4건 소모), 기타공고는 명시로 옵트인

keyword

string

공고명 부분 검색

startDate

string

공고게시 시작일 YYYYMMDD. 미지정 시 최근 30일 자동 적용

endDate

string

공고게시 종료일 YYYYMMDD

institution

string

공고기관명

demandInstitution

string

수요기관명

region

string

참가제한지역명 (예: 인천광역시)

industry

string

업종명

minPrice

number

추정가격 하한(원)

maxPrice

number

추정가격 상한(원)

page

number

페이지 번호(기본 1)

pageSize

number

페이지당 건수(기본 10, 최대 100)

조회창(startDate~endDate)은 최대 31일이다. 하나만 지정하면 그 날짜를 기준으로 30일 창을 채운다.

반환: { query, anySucceeded, results }. results는 업무구분별 BidNotice[]를 담는다.

get_bid_notice

입찰공고번호로 단건 조회한다. 업무구분 미지정 시 기타(etc)를 제외한 4구분에서 순차 조회하며, 기타공고는 bidKindetc를 명시한다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호 (예: R25BK00932003). 필수

bidKind

string

업무구분(cnstwk·servc·thng·frgcpt·etc). 미지정 시 기타 제외 4구분에서 순차 조회(API 요청 최대 4건), 기타공고는 etc 명시

반환: { found, bidKind, notice, searchedKinds, errors }. 찾으면 found: truenotice(BidNotice), 못 찾으면 found: false. errors는 조회 중 발생한 오류 메시지다.

get_bid_basis_amount

입찰공고번호로 기초금액·평가기준금액·예비가격범위율을 조회한다. 기초금액은 물품·공사·용역 3구분만 존재한다(외자·기타 없음).

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

bidKind

string

업무구분(thng=물품 cnstwk=공사 servc=용역). 미지정 시 3구분 병렬 조회(API 요청 3건)

반환: { bidNtceNo, anySucceeded, results }. results는 업무구분별 BidBasisAmount[]를 담는다.

get_bid_evaluation

입찰공고번호로 낙찰가 산정 산식A(국민연금·건강보험료 등 합산항목)와 평가대상 주력분야를 조회한다. 업무구분 구분 없이 단일 조회한다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

반환: { bidNtceNo, anySucceeded, results }. resultspriceFormula(산식A)와 targetField(평가주력분야) 두 키로 BidEvaluation[]를 담는다.

get_bid_change_history

입찰공고번호로 공고의 변경이력(정정·변경 항목, 변경 전/후 값)을 조회한다. 변경이력은 물품·공사·용역 3구분만 존재한다(외자·기타 없음). 변경 이력이 없는 공고는 빈 결과를 반환한다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

bidKind

string

업무구분(thng=물품 cnstwk=공사 servc=용역). 미지정 시 3구분 병렬 조회(API 요청 3건)

반환: { bidNtceNo, anySucceeded, results }. results는 업무구분별 BidChange[]를 담는다.

get_bid_eligibility

입찰공고번호와 공고차수로 면허제한과 참가가능지역을 조회한다. 면허제한·참가가능지역은 공고차수 단위로 갈리므로 bidNtceOrd를 정확히 넘겨야 한다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

bidNtceOrd

string

입찰공고차수(예: 000). get_bid_notice 결과의 bidNtceOrd에서 확인. 미지정 시 000

반환: { bidNtceNo, bidNtceOrd, anySucceeded, results }. resultslicenseLimit(면허제한)과 region(참가가능지역) 두 키로 BidEligibility[]를 담는다.

get_bid_items

입찰공고번호와 공고차수로 구매대상물품(품명·수량·단가·납품장소 등)을 조회한다. 구매대상물품은 물품·용역·외자 3구분만 존재한다(공사 없음).

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

bidNtceOrd

string

입찰공고차수(예: 000). get_bid_notice 결과의 bidNtceOrd에서 확인. 미지정 시 000

bidKind

string

업무구분(thng=물품 servc=용역 frgcpt=외자). 미지정 시 3구분 병렬 조회(API 요청 3건)

반환: { bidNtceNo, bidNtceOrd, anySucceeded, results }. results는 업무구분별 BidItem[]를 담는다.

get_bid_attachments

입찰공고번호로 그 공고의 첨부파일 파일명·URL을 조회한다. 공고 본문 규격첨부(공고문·규격서·제안요청서·과업지시서 등)를 주 소스로, e발주·혁신장터 최종제안요청서(RFP) 첨부를 함께 반환한다. 파일 자체는 내려받지 않고 URL만 반환한다. 파일을 내려받아 목록을 얻으려면 download_attachments, 본문을 읽으려면 read_attachment를 쓴다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

반환: { bidNtceNo, anySucceeded, results }. resultsnotice(공고 규격첨부)·eorder(e발주)·innovationRfp(혁신장터 RFP) 세 키로 BidAttachment[]를 담는다.

download_attachments

공고 첨부를 전부 디스크에 내려받고 ZIP은 풀어(원본 ZIP은 삭제), 읽을 수 있는 **파일 목록(카탈로그)**을 반환한다(본문 텍스트는 담지 않는다). 개별 파일 본문은 이 목록의 indexread_attachment에 줘서 읽는다. get_bid_attachments가 URL만 돌려주는 데 반해, 이 도구는 실제 파일을 확보하고 목록을 만든다.

IMPORTANT

이 도구는 읽기 전용이 아니다(readOnlyHint: false). 첨부를 <저장 디렉터리>/<공고번호>/ 아래에 평탄하게(ZIP 내부 파일도 같은 폴더로 풀어) 저장하고, 목록을 그 폴더의 .attachments-manifest.json에 남긴다. 저장 위치는 DATA_GO_KR_DOWNLOAD_DIR(미설정 시 ~/Downloads)로 정한다. 이미 만든 목록·파일은 재사용한다(전 첨부를 한 번 내려받아야 목록의 index가 생기므로, 파일 하나만 읽으려 해도 첫 호출은 전체를 받는다). 첨부가 나중에 바뀌면 refresh: true로 다시 호출해 새로 받는다.

ZIP은 목록에서 사라지고 내부 파일이 항목으로 펼쳐지며 container에 원본 ZIP명이 담긴다(중첩 ZIP은 재귀하지 않고 파일로만 남긴다). 각 항목의 extractable: trueread_attachment로 본문(HWPX·구형 HWP·구형 DOC)을 읽을 수 있고, false(PDF·이미지 등)면 파일만 저장돼 있으니 savedPath로 직접 연다.

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

refresh

boolean

true면 디스크 캐시를 무시하고 모든 첨부를 새로 내려받아 목록을 다시 만든다(기본 false는 재사용)

반환: { bidNtceNo, anySucceeded, resolveErrors?, files, truncatedFileList? }. files는 파일 카탈로그로, 각 항목은 index·fileNm·container?(담고 있던 ZIP명)·format(hwpx/hwp/doc/otherextractable·byteSize·savedPath·note?(미해제 사유 등)를 담는다. resolveErrors는 첨부 소스(notice·eorder·innovationRfp)별 조회 실패 메시지, truncatedFileList: true는 파일 수가 상한(50)을 넘어 목록이 잘렸다는 신호다(본문 잘림을 뜻하는 read_attachmenttruncated와 다르다).

read_attachment

download_attachments가 준 파일 목록에서 index로 파일 하나를 골라 본문 텍스트를 읽는다. HWPX·구형 HWP·구형 DOC를 추출하며(그 외 formatextractable: false라 본문이 비고 savedPath로 직접 열어야 한다) ZIP 내부 파일도 index로 직접 읽는다(container에 원본 ZIP명). 이미 내려받은 파일은 디스크에서 재사용하고, 목록이 아직 없으면 자동으로 먼저 내려받는다.

IMPORTANT

이 도구도 목록이 없으면 첨부를 내려받으므로 읽기 전용이 아니다(readOnlyHint: false).

파라미터

타입

설명

bidNtceNo

string

입찰공고번호. 필수

index

number

읽을 파일의 목록 인덱스(0-base). download_attachments 응답 files[].index. 필수

offset

number

본문 텍스트의 시작 문자 오프셋(기본 0). 긴 문서를 이어 읽을 때 이전 응답의 textLength 위치를 준다

maxChars

number

반환 문자 상한(기본 50000). truncated: trueoffset을 이 반환분(text 길이)만큼 올려 다음 구간을 읽는다

반환: { bidNtceNo, index, fileNm, container?, format, extractStatus, extractError?, byteSize, savedPath, text, textLength, truncated }. extractStatusfull(본문 전량)/preview(구형 HWP 등에서 미리보기 텍스트만 추출)/unsupported(추출 대상 아님)/error(추출 실패). truncated: true는 본문의 다음 구간이 남았다는 신호다.

응답 필드

아래 각 타입은 조회 키인 bidNtceNo(공고번호)·bidNtceOrd(공고차수, 있는 경우)를 함께 포함한다.

BidNotice

bidNtceNm(공고명), ntceInsttNm(공고기관), dminsttNm(수요기관), bidNtceDt(공고일시), bidClseDt(마감일시), opengDt(개찰일시), presmptPrce(추정가격), bidNtceDtlUrl(상세 URL), bidMethdNm(입찰방법), cntrctCnclsMthdNm(계약체결방법), bidPrtcptLmtYn(투찰제한여부), prtcptLmtRgnNm(참가제한지역), cmmnSpldmdMethdNm(공동수급방식).

BidBasisAmount

bssamt(기초금액), evlBssAmt(평가기준금액), rsrvtnPrceRngBgnRate(예비가격범위율 하한), rsrvtnPrceRngEndRate(예비가격범위율 상한), bssamtOpenDt(기초금액 개찰일시).

BidEvaluation

prearngPrceDcsnMthdNm(예정가격결정방법), bidPrceCalclAOpenDt(산식A 개찰일시), npnInsrprm(국민연금보험료), mrfnHealthInsrprm(건강보험료), qltyMngcst(품질관리비), sftyMngcst(안전관리비), sftyChckMngcst(안전점검비), tmpNm(평가주력분야명).

BidChange

chgDt(변경일시), chgItemNm(변경항목명), bfchgVal(변경전값), afchgVal(변경후값), chgDataDivNm(변경구분명).

BidEligibility

lcnsLmtNm(면허제한명), permsnIndstrytyList(허용업종목록), prtcptPsblRgnNm(참가가능지역명).

BidItem

prdctClsfcNoNm(품명), dtilPrdctClsfcNoNm(세부품명), qty(수량), unit(단위), uprc(단가), dlvrPlce(납품장소), dlvrTmlmtDt(납품기한).

BidAttachment

fileNm(파일명), fileUrl(파일URL), docDivNm(문서구분명).

개발

nvm use            # Node 24
pnpm install
pnpm test          # vitest
pnpm typecheck     # tsc --noEmit
pnpm build         # tsup, dist/ 생성

문제 해결

  • 인증 오류(코드 30): Encoding 키를 넣으면 이중 인코딩으로 실패한다. Decoding(원본) 키를 쓴다. 서버가 시작 시 Encoding 키로 보이면 경고 로그를 남긴다.

  • 결과코드 메시지: 트래픽 초과, 인증키 만료 등 data.go.kr 결과코드는 한국어 메시지로 정규화되어 반환된다.

  • 도구 동작 점검: MCP inspector로 직접 호출해 볼 수 있다.

    npx @modelcontextprotocol/inspector npx -y @opendata-kr/narajangteo-bid-mcp

라이선스

MIT

Available Tools

10 tools
download_attachments입찰공고 첨부 다운로드·파일 목록A

입찰공고 첨부를 전부 디스크에 내려받고 ZIP은 풀어(원본 ZIP은 지운다), 읽을 수 있는 파일 목록(카탈로그)만 반환한다(본문 텍스트는 담지 않는다). 각 파일 본문은 read_attachment에 이 목록의 index를 줘서 읽는다(불필요한 재조회 없이 필요한 파일만 읽는다). ZIP은 목록에서 사라지고 내부 파일이 공고 폴더에 평탄하게 풀려 항목으로 나오며 container에 원본 ZIP명이 담긴다. 첨부의 URL만 필요하면 get_bid_attachments를 쓴다. 저장 위치는 DATA_GO_KR_DOWNLOAD_DIR(미설정 시 ~/Downloads) 아래 공고번호 폴더다. 첨부가 나중에 바뀌면 refresh=true로 다시 호출한다. 각 항목의 extractable=true면 read_attachment로 본문(HWPX·구형 HWP·구형 DOC)을 읽을 수 있고, false면 파일만 저장돼 있어 savedPath로 직접 열어야 한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
refreshNotrue면 디스크 캐시를 무시하고 모든 첨부를 새로 내려받아 카탈로그를 다시 만든다(첨부가 갱신됐을 때). 기본 false는 이미 받은 파일·카탈로그를 재사용한다.
bidNtceNoYes입찰공고번호. 이 공고의 전 첨부를 디스크에 내려받고 ZIP은 풀어(원본 ZIP은 삭제) 읽을 수 있는 파일 목록(카탈로그)을 반환한다. 개별 파일 본문은 read_attachment로 읽는다.

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Thoroughly describes side effects: downloads, extracts ZIPs, deletes original ZIP, stores in specific directory, uses cache, and refresh behavior. Annotations (readOnlyHint: false, openWorldHint: true) are consistent with this mutation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information-dense paragraph that front-loads the main action. Could be slightly more structured (e.g., bullet points), but every sentence adds value and it's not overly long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description fully explains the return (file catalog without text), how to use indices with read_attachment, directory location, cache behavior, and non-extractable files. Comprehensive for a 2-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the description adds significant context: explains refresh (ignore cache) and bidNtceNo (triggers download/extraction). Also details how results are used with other tools, adding value beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool downloads all attachments, extracts ZIPs (deleting originals), and returns a file catalog. It distinguishes from siblings: get_bid_attachments for URLs only, read_attachment for reading file content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly mentions when to use: when you need downloaded files and a catalog. Advises using get_bid_attachments for URLs only, and read_attachment with index for file content. Also explains refresh parameter for updated attachments.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_attachments첨부파일 조회A
Read-only

입찰공고번호로 그 공고의 첨부파일 파일명·다운로드 URL을 조회한다. 공고 본문 규격첨부(공고문·규격서·제안요청서·과업지시서 등)를 주 소스로, e발주·혁신장터RFP 첨부를 함께 반환한다(results.notice·eorder·innovationRfp). 첨부의 URL만 필요할 때 쓴다. 파일을 내려받아 목록(매니페스트)을 얻으려면 download_attachments를, 특정 파일의 본문 텍스트를 읽으려면 read_attachment를 쓴다. 기초금액·참가자격 등 다른 세부정보는 get_bid_basis_amount·get_bid_eligibility를 쓴다. 파일 자체는 내려받지 않고 URL만 반환한다. 한 호출이 공고 구분 해소(최대 5건)와 첨부 오퍼레이션 2건, 합계 최대 7건의 API 요청을 소모한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidNtceNoYes입찰공고번호. 이 공고의 첨부파일(공고문·규격서·제안요청서·과업지시서 등)의 파일명·다운로드 URL을 반환한다. 파일 자체는 내려받지 않는다.

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations set readOnlyHint=true and openWorldHint=true. Description confirms no file download ('파일 자체는 내려받지 않고 URL만 반환한다') and discloses API consumption details (up to 7 requests). No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is concise yet comprehensive. Main action stated first, followed by alternative tools and constraints, all in a logical flow. Every sentence serves a purpose without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema, the description adequately explains return values (file names and URLs from multiple sources). Also covers API request limits and scope. Complete for a single-parameter retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, baseline 3. Description adds value by explaining the parameter's role and the return structure (results.notice·eorder·innovationRfp), going beyond schema to clarify output format.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it retrieves file names and download URLs for bid announcement attachments, specifying sources ('공고문·규격서·제안요청서·과업지시서 등', 'e발주·혁신장터RFP'). Distinguishes from sibling tools by listing what it does not do (download, read text, other details).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use: '첨부의 URL만 필요할 때 쓴다' (when only URLs are needed). Provides clear alternatives: download_attachments for downloading files, read_attachment for reading text, and get_bid_basis_amount/get_bid_eligibility for other details.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_basis_amount기초금액 조회A
Read-only

입찰공고번호로 기초금액·평가기준금액·예비가격범위율을 조회한다. 예정가격 산정의 기준값이 필요할 때 쓴다. 산식A 합산항목·평가주력분야는 get_bid_evaluation, 참가자격은 get_bid_eligibility를 쓴다. 기초금액은 물품·공사·용역 3구분만 존재하며(외자·기타 없음), bidKind 지정 시 해당 구분만(요청 1건), 미지정 시 3구분을 병렬 조회한다(요청 3건).

ParametersJSON Schema
NameRequiredDescriptionDefault
bidKindNo업무구분(thng=물품, cnstwk=공사, servc=용역). 기초금액은 이 3구분만 존재. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)
bidNtceNoYes입찰공고번호 (예: R25BK00932003)

TDQS

A4.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds context beyond annotations: explains that only three bid kinds exist for this tool and that unspecified bidKind results in 3 parallel API requests. Annotations already indicate read-only and open-world, so description complements them well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the primary action, no redundant information. Every sentence contributes unique value, making it concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description fully covers the tool's behavior for a simple two-parameter tool: explains the effect of bidKind on query count, clarifies data scope, and directs to sibling tools. No output schema exists, but the return values (amounts and rates) are implied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Adds significant meaning beyond the 100% schema coverage: clarifies that bidKind only covers three categories (no foreign/other), and explains the difference in API request count when specified vs. unspecified. This is valuable operational context not in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it retrieves base amount, evaluation standard amount, and preliminary price range rate by bid notice number. It also distinguishes from siblings by naming get_bid_evaluation and get_bid_eligibility for other purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use ('when base values for budget estimation are needed') and provides alternative tools for related tasks (get_bid_evaluation, get_bid_eligibility). Also explains behavior for specified vs. unspecified bidKind.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_change_history공고 변경이력 조회A
Read-only

입찰공고번호로 공고의 변경이력(정정·변경 항목, 변경 전/후 값)을 조회한다. 공고 내용이 사후에 어떻게 바뀌었는지 확인할 때 쓴다. 기초금액은 get_bid_basis_amount, 참가자격은 get_bid_eligibility를 쓴다. 변경이력은 물품·공사·용역 3구분만 존재하며(외자·기타 없음), bidKind 지정 시 해당 구분만(요청 1건), 미지정 시 3구분을 병렬 조회한다(요청 3건). 변경 이력이 없는 공고는 빈 결과를 반환한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidKindNo업무구분(thng=물품, cnstwk=공사, servc=용역). 변경이력은 이 3구분만. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)
bidNtceNoYes입찰공고번호 (예: R25BK00932003). 이 도구는 공고의 변경이력(정정·변경 항목)을 반환. 기초금액은 get_bid_basis_amount, 참가자격은 get_bid_eligibility로 조회

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=true and openWorldHint=true. The description adds behavioral context beyond annotations: change history exists only for three bid types, unspecified bidKind triggers 3 parallel API calls, and empty results indicate no changes. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences long, front-loaded with the core purpose, and contains no redundant information. Every sentence adds value, efficiently covering purpose, usage context, and behavioral details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description adequately explains the return values (corrected items, before/after values) and empty results. It covers the conditional behavior for bidKind specification and the API call implications. The description is complete given the tool's complexity and the rich annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, baseline 3. The description adds value by explaining the parallel call behavior for bidKind and reiterating that the three enum values are the only supported types. It also clarifies the relationship between parameters and alternatives, which goes beyond schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves change history for a bid notice by number, including corrected items and before/after values. It explicitly distinguishes from sibling tools like get_bid_basis_amount and get_bid_eligibility, making its purpose specific and unique.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool (to check how bid content changed after posting) and when not (for basis amount or eligibility, naming alternatives). It also explains the behavior for specified vs unspecified bidKind, including the trade-off in API call count.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_eligibility면허제한·참가가능지역 조회A
Read-only

입찰공고번호와 공고차수로 면허제한과 참가가능지역을 조회한다. 투찰 가능 여부(면허·지역 조건)를 확인할 때 쓴다. 기초금액은 get_bid_basis_amount, 변경이력은 get_bid_change_history를 쓴다. 면허제한·참가가능지역은 공고차수(bidNtceOrd) 단위로 갈리므로 get_bid_notice 결과의 bidNtceOrd를 넘겨야 정확하며, 미지정 시 000(최초 차수)으로 조회한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidNtceNoYes입찰공고번호 (예: R25BK00932003)
bidNtceOrdNo입찰공고차수(예: 000). 면허제한·참가가능지역은 차수 단위라 필수. 차수는 get_bid_notice 결과의 bidNtceOrd에서 확인. 미지정 시 000

TDQS

A4.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, indicating a safe read operation. The description adds context about the return focusing on license/region conditions per notice order but does not elaborate on specific output structure. With annotations covering safety, a moderate score is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with no redundancy. First sentence states purpose, second gives usage context, third explains parameter importance. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (two parameters, read-only, no nested objects), the description covers purpose, usage, and parameter nuance. While it does not describe the return format, annotations (openWorldHint) imply variability. Overall, it provides sufficient context for correct selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for both parameters. The description adds value beyond schema by explaining that bidNtceOrd is critical because license restrictions vary by order, that it should be sourced from get_bid_notice, and defaults to 000 if omitted. This provides operational guidance not present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb '조회한다' (queries) and the resource '면허제한·참가가능지역' (license restrictions and participation areas), and distinguishes itself from sibling tools by naming specific alternatives (get_bid_basis_amount, get_bid_change_history) for related but different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use: '투찰 가능 여부(면허·지역 조건)를 확인할 때 쓴다' (use when checking bid possibility for license/region conditions). Also provides explicit alternatives and explains the need for bidNtceOrd from get_bid_notice, including default behavior.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_evaluation낙찰가산식·평가주력분야 조회A
Read-only

입찰공고번호로 낙찰가 산정 산식A(국민연금·건강보험료 등 합산항목)와 평가대상 주력분야를 조회한다. 예정가격결정방법과 항목별 금액이 필요할 때 쓴다. 기초금액은 get_bid_basis_amount, 참가자격은 get_bid_eligibility, 변경이력은 get_bid_change_history를 쓴다. 업무구분 구분 없이 단일 조회하며, 결과는 priceFormula(산식A)·targetField(평가주력분야) 두 키로 구분된다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidNtceNoYes입찰공고번호 (예: R25BK00932003). 낙찰가 산정 산식A(국민연금·건강보험 등 합산항목)와 평가대상 주력분야를 함께 반환. 기초금액은 get_bid_basis_amount 도구로 조회.

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is clear. The description adds behavioral context: it performs a single query without work classification distinction and specifies the output structure (two keys: priceFormula, targetField), which goes beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise yet comprehensive: it front-loads the main action, provides usage context, lists alternatives, and explains the output structure in a single coherent paragraph without redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only one parameter, full schema coverage, no output schema but the description explains output keys, and provides sibling context, the description is complete enough for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (one parameter fully described). The tool description reinforces the parameter's purpose and adds context about the return value and alternative tools, enriching understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves the bid evaluation formula (산식A) and evaluation main field (평가대상 주력분야) using the bid notice number. It distinguishes from siblings by listing alternative tools for related data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool ('예정가격결정방법과 항목별 금액이 필요할 때') and provides named alternatives (get_bid_basis_amount, get_bid_eligibility, get_bid_change_history) for other needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_items구매대상물품 조회A
Read-only

입찰공고번호와 공고차수로 구매대상물품(품명·수량·단가·납품장소 등)을 조회한다. 공고에 포함된 물품 내역이 필요할 때 쓴다. 기초금액은 get_bid_basis_amount, 참가자격은 get_bid_eligibility를 쓴다. 구매대상물품은 물품·용역·외자 3구분만 존재하며(공사는 없음), bidKind 지정 시 해당 구분만(요청 1건), 미지정 시 3구분을 병렬 조회한다(요청 3건). 차수(bidNtceOrd)는 get_bid_notice에서 확인해 넘기며, 미지정 시 000으로 조회한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidKindNo업무구분(thng=물품, servc=용역, frgcpt=외자). 공사는 구매대상물품 없음. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)
bidNtceNoYes입찰공고번호 (예: R25BK00932003)
bidNtceOrdNo입찰공고차수(예: 000). 구매대상물품은 차수 단위라 필수. get_bid_notice 결과의 bidNtceOrd에서 확인. 미지정 시 000

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description adds significant behavioral context beyond readOnlyHint and openWorldHint annotations: explains multiple API requests based on bidKind, default for bidNtceOrd, and absence of construction category. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is concise (4 sentences) and well-structured: first sentence states purpose, second gives usage context, third mentions sibling tools, fourth provides behavioral details. No redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description adequately covers tool behavior: parameter roles, defaults, parallel request behavior, and relationship to other tools. All relevant aspects for correct invocation are addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description enriches parameters with practical details: enum meanings (thng=물품, servc=용역, frgcpt=외자), request count implications, example for bidNtceNo, and dependency on get_bid_notice for bidNtceOrd.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb '조회한다' (query) and resource '구매대상물품' (bid items), specifies key parameters (입찰공고번호와 공고차수), and distinguishes from siblings by naming alternative tools for related purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('공고에 포함된 물품 내역이 필요할 때'), provides alternative tools for other needs (get_bid_basis_amount, get_bid_eligibility), and explains conditional behavior for bidKind (single vs parallel requests) and bidNtceOrd (default 000 if unspecified).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_bid_notice입찰공고 단건 조회A
Read-only

입찰공고번호로 단건 공고의 상세를 조회한다. 공고번호를 이미 알 때 쓴다. 조건으로 공고를 찾을 때는 search_bid_notices를 쓴다. 업무구분을 지정하면 해당 구분만, 미지정 시 기타(etc) 제외 4구분(공사/용역/물품/외자)을 차례로 조회하며(API 요청 최대 4건, 구분을 알면 지정), 기타공고 조회는 bidKind에 etc를 명시한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
bidKindNo업무구분(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 조회로 API 요청 4건 소모(지정 시 1건). 기타공고는 etc 명시
bidNtceNoYes입찰공고번호 (예: R25BK00932003)

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and openWorldHint. The description adds valuable behavioral details: multiple API calls if bidKind unspecified (up to 4 requests) and specific behavior for each bidKind value. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four efficient sentences, front-loaded with core purpose, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately covers purpose, parameters, and behavior. Could mention response fields, but not necessary for this simple retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% coverage with descriptions. The description adds meaning: explains that unspecified bidKind triggers 4 queries, specified reduces consumption, and provides usage for 'etc'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states '입찰공고번호로 단건 공고의 상세를 조회한다' (retrieve details of a single notice by notice number) and contrasts with search_bid_notices, establishing a distinct purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use ('공고번호를 이미 알 때 쓴다') and when to use sibling ('조건으로 공고를 찾을 때는 search_bid_notices를 쓴다'). Also provides detailed guidance on bidKind parameter usage and API consumption.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_attachment첨부 본문 읽기A

download_attachments가 준 파일 목록에서 index로 파일 하나를 골라 본문 텍스트를 읽는다. HWPX·구형 HWP·구형 DOC만 추출하며(그 외 format은 extractable=false라 본문이 비고 savedPath로 직접 열어야 한다), ZIP 내부 파일도 index로 직접 읽는다(container에 원본 ZIP명). 긴 문서는 offset·maxChars로 이어 읽는다(truncated=true면 다음 구간이 남음). 목록을 먼저 받으려면 download_attachments를, 첨부 URL만 필요하면 get_bid_attachments를 쓴다. 이미 내려받은 파일은 디스크에서 재사용한다(목록이 없으면 자동으로 먼저 내려받는다).

ParametersJSON Schema
NameRequiredDescriptionDefault
indexYes읽을 파일의 목록 인덱스(0-base). download_attachments 응답 files[].index 값을 쓴다. 첨부가 바뀌면 인덱스가 흔들리므로 download_attachments를 refresh=true로 다시 호출해 목록을 갱신한다.
offsetNo본문 텍스트의 시작 문자 오프셋(기본 0). 긴 문서를 이어 읽을 때 이전 textLength 위치를 준다.
maxCharsNo반환 문자 상한(기본 50000). truncated=true면 offset을 이 반환분만큼 올려 다음 구간을 읽는다.
bidNtceNoYes입찰공고번호. download_attachments가 준 목록과 같은 공고를 지정한다.

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses caching behavior (reuses downloaded files), auto-download if list missing, and non-extractable formats (body empty). Annotations give readOnlyHint=false and openWorldHint=true, and description aligns without contradiction, adding context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient paragraph of 4 sentences, front-loading the main purpose and covering key behaviors without waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers formats, ZIP handling, streaming, and caching, but lacks explicit description of the return value structure (e.g., fields like text, truncated, savedPath). For a tool with no output schema, this is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds significant context: explains index usage from download_attachments response, offset/maxChars for streaming, and bidNtceNo to match the notice.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'reads' the text body of a file, specifies the resource (files from download_attachments list), and distinguishes from siblings by naming download_attachments and get_bid_attachments.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use this tool vs alternatives ('목록을 먼저 받으려면 download_attachments를, 첨부 URL만 필요하면 get_bid_attachments를 쓴다.'), and explains how to handle long documents with offset/maxChars.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_bid_notices입찰공고 검색A
Read-only

나라장터 입찰공고를 키워드·기간·기관·지역·업종·추정가격으로 검색한다. 조건에 맞는 공고 목록을 찾을 때 쓴다. 공고번호를 이미 아는 단건 상세는 get_bid_notice를 쓴다. 업무구분 미지정 시 기타(etc) 제외 4구분(공사/용역/물품/외자)을 병렬 검색하며(API 요청 4건 소모, 구분을 알면 bidKind 지정), 기타공고 조회는 bidKind에 etc를 명시한다.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo페이지 번호(기본 1)
regionNo참가제한지역명(prtcptLmtRgnNm)
bidKindNo업무구분 배열(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 병렬 검색으로 API 요청 4건을 소모한다. 업무구분을 알면 지정해 인증키 일일 트래픽을 아낀다
endDateNo공고게시 종료일 YYYYMMDD
keywordNo공고명 부분 검색(bidNtceNm)
industryNo업종명(indstrytyNm)
maxPriceNo추정가격 상한(원, presmptPrceEnd)
minPriceNo추정가격 하한(원, presmptPrceBgn)
pageSizeNo페이지당 건수(기본 10)
startDateNo공고게시 시작일 YYYYMMDD. 미지정 시 최근 30일 자동 적용
institutionNo공고기관명(ntceInsttNm). 수요기관은 demandInstitution 사용
demandInstitutionNo수요기관명(dminsttNm)

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=true and openWorldHint=true (read-only, no side effects). The description adds important behavioral context: when bidKind is unspecified, it performs parallel searches for 4 types (excluding etc) consuming 4 API requests. This is beyond annotations and helps the agent understand resource usage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is mostly concise and front-loads the purpose. However, the second sentence ('조건에 맞는 공고 목록을 찾을 때 쓴다') is somewhat redundant with the first sentence. Minor improvement possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 12 parameters, no required params, and no output schema, the description adequately covers the search criteria and distinguishes from siblings. It mentions the parallel search behavior but does not describe pagination or output format. Still fairly complete for its complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the parallel search behavior for bidKind and traffic implications, which is not in the schema. This extra information merits a 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches bid notices by various criteria (keyword, period, institution, region, industry, estimated price). It also distinguishes from sibling get_bid_notice by specifying that the sibling is for retrieving a single known bid notice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool (when searching for bid notices by conditions) and when to use the alternative (get_bid_notice for known bid numbers). Also provides guidance on bidKind specification to save API traffic.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 5 tool updatesv0.6.0
    • Changedget_bid_basis_amount1 field changed
      • changedInput schema / properties / bidKind / description
        Previous value: -"업무구분(thng=물품, cnstwk=공사, servc=용역). 기초금액은 이 3구분만 존재. 미지정 시 3구분 병렬"New value: +"업무구분(thng=물품, cnstwk=공사, servc=용역). 기초금액은 이 3구분만 존재. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)"
    • Changedget_bid_change_history1 field changed
      • changedInput schema / properties / bidKind / description
        Previous value: -"업무구분(thng=물품, cnstwk=공사, servc=용역). 변경이력은 이 3구분만. 미지정 시 3구분 병렬"New value: +"업무구분(thng=물품, cnstwk=공사, servc=용역). 변경이력은 이 3구분만. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)"
    • Changedget_bid_items1 field changed
      • changedInput schema / properties / bidKind / description
        Previous value: -"업무구분(thng=물품, servc=용역, frgcpt=외자). 공사는 구매대상물품 없음. 미지정 시 3구분 병렬"New value: +"업무구분(thng=물품, servc=용역, frgcpt=외자). 공사는 구매대상물품 없음. 미지정 시 3구분 병렬 조회로 API 요청 3건 소모(지정 시 1건)"
    • Changedget_bid_notice1 field changed
      • changedInput schema / properties / bidKind / description
        Previous value: -"업무구분(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 조회. 기타공고는 etc 명시"New value: +"업무구분(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 조회로 API 요청 4건 소모(지정 시 1건). 기타공고는 etc 명시"
    • Changedsearch_bid_notices1 field changed
      • changedInput schema / properties / bidKind / description
        Previous value: -"업무구분 배열(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 병렬 검색"New value: +"업무구분 배열(cnstwk=공사, servc=용역, thng=물품, frgcpt=외자, etc=기타). 미지정 시 기타 제외 4구분 병렬 검색으로 API 요청 4건을 소모한다. 업무구분을 알면 지정해 인증키 일일 트래픽을 아낀다"
  2. 3 tool updatesv0.5.0
    • Addeddownload_attachments
    • Changedget_bid_attachments1 field changed
      • changedInput schema / properties / bidNtceNo / description
        Previous value: -"입찰공고번호. e발주 첨부파일과 혁신장터 최종제안요청서 첨부파일 URL을 반환. 대부분 공고는 비어 있음"New value: +"입찰공고번호. 이 공고의 첨부파일(공고문·규격서·제안요청서·과업지시서 등)의 파일명·다운로드 URL을 반환한다. 파일 자체는 내려받지 않는다."
    • Addedread_attachment
  3. 8 tool updatesv0.2.0
    • First observedget_bid_attachments
    • First observedget_bid_basis_amount
    • First observedget_bid_change_history
    • First observedget_bid_eligibility
    • First observedget_bid_evaluation
    • First observedget_bid_items
    • First observedget_bid_notice
    • First observedsearch_bid_notices

TDQS

A4.7/5.0

Scored across 10 tools

Disambiguation5/5

Each tool has a clearly distinct purpose, covering different aspects of bid notices: search, detail, financial, eligibility, evaluation, items, attachments (list vs download vs read text), and change history. No overlapping functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case, using get_ for most data retrieval and specific verbs like search_, download_, read_ for different actions, maintaining predictability.

Tool Count5/5

With 10 tools, the server covers the core operations for Korean government procurement without being excessive or sparse. Each tool addresses a specific need, making the set well-scoped.

Completeness5/5

The tool surface covers the full lifecycle of browsing and examining bid notices: search, details, financial data, eligibility, evaluation, items, attachments (list, download, read), and change history. No obvious gaps for the intended domain.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for the Korean National Assembly Open API, enabling querying of bills, members, votes, committees, and more via natural language.
    20
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for Korean public institution information, enabling AI clients to search, compare, and analyze disclosure data, public services, laws, and news.
    32
    1
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    MCP server for Naver Search Open API, enabling search news, blog, and shop functionalities through natural language.
    -
  • A
    license
    A
    quality
    A
    maintenance
    MCP server that wraps the Korean government's '나라장터 사전규격정보서비스' API, enabling natural language search and retrieval of public procurement pre-specifications through simplified tools.
    5
    63
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/opendata-kr/narajangteo-bid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server