narajangteo-prespec
This server provides read-only access to Korea's 나라장터 (Nara Jangteo) Pre-Specification (사전규격) Information Service via the public data portal (data.go.kr), allowing you to search and retrieve pre-bid specification data.
Available tools:
search_prespecs– Search pre-specifications by registration/change date or a specific pre-specification registration number (사전규격등록번호).search_prespecs_by_institution– Find pre-specifications by ordering institution name (발주기관) or demand institution name (실수요기관), useful for tracking a specific agency's planned procurements.search_prespecs_by_product– Search by product name (품명), detailed product code (세부품명번호), or detailed product name (세부품명) — the only tool supporting search by detailed product name.search_prespecs_advanced– Apply multiple filters simultaneously: ordering institution, demand institution, product name, reference number, SW business flag (SW사업여부), and registration number.get_prespec_opinions– Retrieve public opinions and official replies attached to a specific pre-specification, including submitter info and file URLs.
Cross-cutting features:
All tools support filtering by business type (
kind): construction (공사), service (용역), goods (물품), and foreign procurement (외자). If unspecified, all 4 types are queried in parallel.Pagination supported (
page,pageSizeup to 100).Partial failures return available results with surfaced error messages.
data.go.kr error codes are normalized into Korean messages.
Data covers registrations from January 2025 onward.
Provides tools for searching and retrieving Korean public procurement pre-specifications using natural language, enabling AI agents in AMP to query data from the 나라장터 system.
Integrates with GitHub Copilot to enable AI-assisted search and retrieval of Korean public procurement pre-specifications.
Lets Google Gemini AI agents search and access pre-specification data from the Korean public procurement system.
Enables JetBrains AI Assistant and Junie to search for Korean public procurement pre-specifications using natural language.
Works with OpenAI Codex to allow natural language search and retrieval of Korean public procurement pre-specifications.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@narajangteo-prespec이번 달 사전규격 검색해줘"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@opendata-kr/narajangteo-prespec-mcp
나라장터 사전규격정보서비스(공공데이터포털 data.go.kr) Open API를 감싼 로컬 MCP 서버.
MCP 클라이언트에서 나라장터 사전규격(발주기관이 입찰공고 전에 규격서를 사전공개하고 의견을 받는 단계)을 자연어로 검색하고 조회한다. 예를 들어 이렇게 물어볼 수 있다.
"이번 달 올라온 물품 사전규격을 찾아줘"
"해군군수사령부가 발주한 사전규격을 검색해줘"
"사전규격등록번호 R26BD00234692의 규격서 의견을 보여줘"
특징
20개 오퍼레이션을 5개 도구로 노출: 전체 조회/기관별/품목별/복합검색/규격서의견 유형별로 묶어 사용성을 단순화했다.
4개 업무구분 병렬 검색: 공사/용역/물품/외자를 한 번에 조회한다. 업무구분 미지정 시 전 구분을 동시 검색한다.
부분 실패 표면화: 일부 구분 조회가 실패해도 나머지 결과를 반환하고, 실패한 구분은 오류 메시지로 드러낸다(조용한 누락 없음).
data.go.kr 에러코드 한국어화: 인증키 만료, 트래픽 초과 등 결과코드를 조치 가능한 한국어 메시지로 정규화한다.
이중 인코딩 방어: Encoding 키를 잘못 넣으면 경고하고, 요청은 한 번만 인코딩한다.
타임아웃: API 호출에 타임아웃을 둔다.
Related MCP server: Korean Patent MCP (KIPRIS)
준비물
Node.js 24 이상 (
.nvmrc=lts/krypton).data.go.kr 인증키:
공공데이터포털에서 나라장터 사전규격정보서비스를 활용신청해
[승인]을 받는다. 인증키는 계정당 하나지만, 각 API는 저마다 활용신청 승인이 있어야 그 API에서 인증된다. 서비스키가 있어도 이 API를 활용신청하지 않으면 인증 오류(코드 30)가 난다.마이페이지 → 활용신청 현황 → 개발계정 상세에서 Decoding 서비스키를 복사한다.
같은
DATA_GO_KR_SERVICE_KEY는 같은 계정으로 활용신청한 다른 data.go.kr API에도 재사용된다.
공공데이터포털이 처음이라면 활용신청부터 인증키 복사까지 그림으로 따라 하는data.go.kr 인증키 발급 가이드를 참고한다.
서비스키는 반드시 Decoding(원본) 키를 넣는다. Encoding(
%2B등 포함) 키를 넣으면 이중 인코딩으로 인증 오류(코드 30)가 난다.
MCP 클라이언트 설정
MCP 클라이언트에 아래 config를 추가한다:
{
"mcpServers": {
"narajangteo-prespec": {
"command": "npx",
"args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
"env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
}
}
}@opendata-kr/narajangteo-prespec-mcp@latest를 쓰면 클라이언트가 항상 최신 버전을 받는다.
DATA_GO_KR_SERVICE_KEY(필수, Decoding 원본 키)가 없으면 첫 호출이 인증 오류(코드 30)로 실패한다. 위 config의 env에 키를 넣는다. 원클릭 버튼이나 env를 config에 담지 못하는 클라이언트는 설치 후 셸 환경변수로 DATA_GO_KR_SERVICE_KEY를 설정한다.
클라이언트별 설정
amp mcp add narajangteo-prespec -- npx -y @opendata-kr/narajangteo-prespec-mcp@latest이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.
Antigravity 문서의 커스텀 MCP 서버 추가 방법을 따라 아래 config를 MCP servers 설정에 넣는다:
{
"mcpServers": {
"narajangteo-prespec": {
"command": "npx",
"args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
"env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
}
}
}Claude Code CLI로 서버를 추가한다 (가이드):
claude mcp add narajangteo-prespec --scope user --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latestcodex mcp add narajangteo-prespec --env DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키 -- npx -y @opendata-kr/narajangteo-prespec-mcp@latestWindows
~/.codex/config.toml에 cmd /c 래핑으로 추가한다:
[mcp_servers.narajangteo-prespec]
command = "cmd"
args = ["/c", "npx", "-y", "@opendata-kr/narajangteo-prespec-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }Command Code CLI로 서버를 추가한다 (MCP 가이드):
cmd mcp add narajangteo-prespec --scope user npx -y @opendata-kr/narajangteo-prespec-mcp@latest이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.
Continue의 MCP 가이드를 따른다. Continue는 mcpServers를 배열로 쓴다:
{
"mcpServers": [
{
"name": "narajangteo-prespec",
"command": "npx",
"args": ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
"env": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
}
]
}Copilot CLI를 시작한다:
copilotMCP 서버 추가 대화를 연다:
/mcp add다음 필드를 입력하고 CTRL+S로 저장한다:
Server name:
narajangteo-prespecServer Type:
[1] LocalCommand:
npx -y @opendata-kr/narajangteo-prespec-mcp@latestEnvironment variables:
DATA_GO_KR_SERVICE_KEY=발급받은_Decoding_키
버튼으로 설치:
버튼은 키를 담지 못한다. 설치 후
.vscode/mcp.json(또는 사용자 설정)의env에DATA_GO_KR_SERVICE_KEY를 추가한다.
직접 추가:
VS Code MCP 설정 가이드를 따르거나 CLI를 쓴다.
macOS·Linux:
code --add-mcp '{"name":"narajangteo-prespec","command":"npx","args":["-y","@opendata-kr/narajangteo-prespec-mcp@latest"],"env":{"DATA_GO_KR_SERVICE_KEY":"발급받은_Decoding_키"}}'Windows(PowerShell):
code --add-mcp '{"""name""":"""narajangteo-prespec""","""command""":"""npx""","""args""":["""-y""","""@opendata-kr/narajangteo-prespec-mcp@latest"""],"""env""":{"""DATA_GO_KR_SERVICE_KEY""":"""발급받은_Decoding_키"""}}'버튼으로 설치:
버튼은 키를 담지 못한다. 설치 후 Cursor의 MCP 설정에서
env에DATA_GO_KR_SERVICE_KEY를 추가한다.
직접 추가:
Cursor Settings → MCP → New MCP Server에서 위 config를 사용한다.
Factory CLI로 서버를 추가한다 (가이드):
droid mcp add narajangteo-prespec "npx -y @opendata-kr/narajangteo-prespec-mcp@latest"이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.
Gemini CLI로 서버를 추가한다.
프로젝트 범위:
gemini mcp add narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest전역:
gemini mcp add -s user narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest또는 MCP 가이드를 따르고 위 config를 쓴다. ~/.gemini/settings.json의 서버 정의 env에 DATA_GO_KR_SERVICE_KEY를 추가한다.
grok mcp add narajangteo-prespec npx -y @opendata-kr/narajangteo-prespec-mcp@latest이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다. 더 많은 옵션은 문서 참고.
Settings | Tools | AI Assistant | Model Context Protocol (MCP) → Add에서 위 config를 사용한다.
Junie도 같은 방식으로 Settings | Tools | Junie | MCP Settings → Add에서 위 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-prespec-mcp@latest3단계: StudioAssist에 다음 설정으로 서버를 추가한다:
Connection URL:
http://127.0.0.1:8080/mcpTransport type:
HTTP
Kiro Settings에서 Configure MCP → Open Workspace or User MCP Config → 위 config를 사용한다.
또는 Activity Bar → Kiro → MCP Servers → Open MCP Config에서 위 config를 사용한다.
~/.vibe/config.toml에 추가한다:
[[mcp_servers]]
name = "narajangteo-prespec"
transport = "stdio"
command = "npx"
args = ["-y", "@opendata-kr/narajangteo-prespec-mcp@latest"]
env = { DATA_GO_KR_SERVICE_KEY = "발급받은_Decoding_키" }opencode.json에 추가한다. 없으면 ~/.config/opencode/opencode.json에 만든다 (가이드):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"narajangteo-prespec": {
"type": "local",
"command": ["npx", "-y", "@opendata-kr/narajangteo-prespec-mcp@latest"],
"environment": { "DATA_GO_KR_SERVICE_KEY": "발급받은_Decoding_키" }
}
}
}Qoder Settings에서 MCP Server → + Add → 위 config를 사용한다.
또는 MCP 가이드를 따르고 위 config를 쓴다.
Qoder CLI로 서버를 추가한다 (가이드):
프로젝트 범위:
qodercli mcp add narajangteo-prespec -- npx @opendata-kr/narajangteo-prespec-mcp@latest전역:
qodercli mcp add -s user narajangteo-prespec -- npx @opendata-kr/narajangteo-prespec-mcp@latest이후 생성된 설정의 env(또는 셸 환경변수)에 DATA_GO_KR_SERVICE_KEY를 추가한다.
버튼으로 설치:
버튼은 키를 담지 못한다. 설치 후 서버 설정의
env에DATA_GO_KR_SERVICE_KEY를 추가한다.
Settings | AI | Manage MCP Servers → + Add에서 MCP 서버를 추가하고 위 config를 사용한다.
~/.config/zed/settings.json에 추가한다(스키마는 Zed 버전에 따라 다를 수 있으니 Zed 공식 문서를 확인):
{
"context_servers": {
"narajangteo-prespec": {
"command": { "path": "npx", "args": ["-y", "@opendata-kr/narajangteo-prespec-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-prespec-mcp@latesthttp://127.0.0.1:8080/mcp를 공개 HTTPS로 노출하는 것은 사용자 몫이다. (mcp-remote는 반대로 stdio 클라이언트를 원격 서버에 붙일 때 쓰는 도구라 여기엔 맞지 않는다.)
발견성
이 서버는 MCP 레지스트리에 io.github.opendata-kr/narajangteo-prespec-mcp로 기술된다. registry.modelcontextprotocol.io를 지원하는 클라이언트에서 검색·설치할 수 있다.
환경변수
환경변수 | 필수 | 비밀 | 기본값 | 설명 |
| 예 | 예 | (없음) | 공공데이터포털 Decoding(원본) 인증키 |
| 아니오 | 아니오 |
| 서비스 경로를 포함한 전체 URL 오버라이드 |
도구
5개 도구 모두 읽기 전용 조회다. 20개 오퍼레이션을 조회 방식에 따라 묶었다. 아래 파라미터는 모든 도구에 공통이다.
kind:string[]. 업무구분 배열:cnstwk(공사)servc(용역)thng(물품)frgcpt(외자). 미지정 시 전 구분 병렬 조회. 병렬 조회는 API 요청 4건을 소모하므로 업무구분을 알면 지정한다page:number. 페이지 번호(기본 1)pageSize:number. 페이지당 건수(기본 10, 최대 100)
search_prespecs
사전규격을 기간(등록/변경일시) 또는 사전규격등록번호로 조회한다. 단순 기간·번호 조회에 쓴다.
파라미터 | 타입 | 설명 |
|
| 조회 시작일 |
|
| 조회 종료일 |
|
| 기간 기준: |
|
| 사전규격등록번호로 단건 조회(지정 시 기간보다 우선) |
search_prespecs_by_institution
발주기관명·실수요기관명으로 사전규격을 조회한다. 특정 기관의 발주 예정 물량을 볼 때 쓴다.
파라미터 | 타입 | 설명 |
|
| 발주기관명 |
|
| 실수요기관명 |
|
| 조회 시작일 |
|
| 조회 종료일 |
search_prespecs_by_product
품명·세부품명(번호)으로 사전규격을 조회한다. 관심 품목의 사전규격을 찾을 때 쓴다.
파라미터 | 타입 | 설명 |
|
| 품명(사업명) |
|
| 세부품명번호 |
|
| 세부품명 |
|
| 조회 시작일 |
|
| 조회 종료일 |
search_prespecs_advanced
발주기관·수요기관·품명·참조번호·SW사업여부 등 복합 조건으로 사전규격을 조회한다. 여러 필터를 동시에 걸 때 쓴다.
파라미터 | 타입 | 설명 |
|
| 접수 시작일 |
|
| 접수 종료일 |
|
| 사전규격등록번호로 조회(지정 시 최우선) |
|
| 참조번호로 조회(지정 시 기간보다 우선) |
|
| 발주기관명 |
|
| 수요기관명 |
|
| 품명(사업명) |
|
| 세부품명번호 |
|
| SW사업 여부( |
조회 우선순위는 사전규격등록번호 > 참조번호 > 접수일시 순이다. 세부품명(
detailProductName) 검색은 이 API가 지원하지 않는다. 세부품명으로 찾으려면search_prespecs_by_product를 쓴다.
get_prespec_opinions
특정 사전규격(사전규격등록번호)에 달린 규격서 의견·답변 목록을 조회한다.
파라미터 | 타입 | 설명 |
|
| 사전규격등록번호 |
|
| 조회 시작일 |
|
| 조회 종료일 |
모든 도구의 반환은 { query, results }다. results는 업무구분별로 { totalCount, invalidCount, items }를, 실패 시 해당 구분에 { error }를 담는다. invalidCount는 응답 스키마 검증에서 탈락해 items에서 제외된 건수다. 0이 아니면 API 응답 필드가 예고 없이 바뀐 신호이므로 이슈로 알려주면 반영한다.
응답 필드
Prespec (①②③④ 공통)
specRegistNo(사전규격등록번호), productName(품명/사업명), assignedBudget(배정예산액), orderInstitution(발주기관), demandInstitution(실수요기관), registDt(등록일시), changeDt(변경일시), opinionCloseDt(의견등록마감), receiptDt(접수일시), refNo(참조번호), bidNoticeList(관련 입찰공고번호 목록), businessDivision(업무구분), deliveryDays(납품기한일수), deliveryDeadline(납품기한), officialName(담당자), officialTel(담당자 전화), swBusinessYn(SW사업 여부), productDetailList(세부품목 배열: itemSeq·detailProductNo·detailProductName. 공사·용역은 빈 배열).
PrespecOpinion (⑤)
specRegistNo, refNo, opinionNo(의견번호), replyNo(답변번호), opinionTitle(제목), opinionContent(내용), writerCorp(작성업체), writerName(작성자), inputDt(등록일시), writerTel, writerEmail, opinionFileUrls(첨부파일 URL 배열).
개발
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-prespec-mcp
라이선스
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for the Korean National Assembly Open API, enabling querying of bills, members, votes, committees, and more via natural language.Last updated20Apache 2.0
- AlicenseAqualityCmaintenanceMCP server that enables searching Korean patents, trademarks, and designs via KIPRIS Plus open APIs. Supports keyword, advanced, applicant, and rightholder searches with detailed bibliographic lookup.Last updated748MIT
- Alicense-qualityDmaintenanceMCP server to search and retrieve regulations from 14 Korean universities' regulation management systems. Supports querying, listing, and viewing full text or specific articles.Last updated92MIT
- Flicense-qualityDmaintenanceMCP server for searching Japanese government procurement notices via the Kanpou API. Enables LLMs to search by date, keyword, or detailed criteria.Last updated1
Related MCP Connectors
Read-only MCP server for searching Japan government procurement bid information from the KKJ portal.
MCP server for generating rough-draft project plans from natural-language prompts.
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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-prespec-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server