na-openapi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NA_API_KEY | No | The Decoding (원문) API key from data.go.kr. Either this or NA_API_KEY_ENCODED is required. | |
| NA_MCP_HOST | No | Host for streamable-http transport. Defaults to 127.0.0.1. | 127.0.0.1 |
| NA_MCP_PORT | No | Port for streamable-http transport. Defaults to 9126. | 9126 |
| NA_OS_TRUST | No | Set to 1 to trust OS certificates (for educational/corporate networks with SSL interception). Default is 1. | 1 |
| NA_MCP_TRANSPORT | No | MCP transport: stdio or streamable-http. Defaults to stdio. | stdio |
| NA_API_KEY_ENCODED | No | The Encoding value of the API key if only that is available. Either this or NA_API_KEY is required. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| na_statusA | 연결 점검 — 인증키 보유 여부 + 자료검색 API 실제 왕복 1회. |
| na_searchA | [자료검색] 국회도서관의 도서·학위논문·국내외 기사 등 목록DB를 검색한다. search: 검색항목(통합검색 전용 7종): 기본검색 · 전체 · 자료명 · 저자 · 발행자 · 키워드 · 청구기호
🔴 그 밖의 값을 쓰면 오류가 나지 않고 검색어가 통째로 무시되어 전체 카탈로그
13,097,591건이 반환된다. 특히 dbname: 지정하면 상세검색( option: 상세검색 전용. page_size: 한 페이지 건수(최대 1000). 기본은 최대치. max_records: 최대 회수 건수. ⚠️ 회수 한계 99,000건 — |
| na_collectA | [수집] 검색어들을 각각 조회해 합집합으로 모으고 파일로 저장한다. terms: ⚠️ formats: xlsx/csv/json/sqlite (기본 3종). save=false 면 저장 없이 미리보기만. out_dir 미지정 시 홈의 na-output/. 반환 메타의 |
| na_detailA | [상세정보] 제어번호 1건의 서지정보를 조회한다. controlno: 검색 결과의 🔴 검색 결과( ⚠️ 존재하지 않는 제어번호도 |
| na_tocA | [목차] 제어번호 1건의 목차정보를 조회한다. controlno: 검색 결과의 ⚠️ 원문은 HTML 이 이스케이프되어 오므로 이 도구가 태그를 풀어 줄바꿈 텍스트로 정리한다.
실제 주력 구분자는 🔴 다음 자료종은 |
| na_fieldsA | 검색항목·dbname 등 이 API 에서 실제로 통하는 값 목록과 실측 근거. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct operation: health check, search, single-record detail, union collection/export, table of contents, and field validation. Even where na_search and na_collect both query, the descriptions clearly separate raw querying from OR aggregation and saving results.
All tools share the na_ prefix and use clear lowercase names, which makes the set feel coherent. However, the pattern mixes verbs (search, collect) with nouns/abbreviations (status, detail, toc, fields), so it is not perfectly uniform.
Six tools is a well-scoped size for this read-only library search API. Each tool earns its place by covering a distinct capability without unnecessary duplication.
The surface covers the main workflows: checking access, searching, retrieving item-level detail, harvesting OR-combined results, getting TOC data, and discovering valid field/dbname values. There are no obvious dead ends for the stated domain.