Data4Library MCP Server
Click on "Deploy 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., "@Data4Library MCP Server 내 주변 도서관 어디 있어?"
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.
정보나루 도서검색 MCP
도서관 정보나루 API를 MCP 도구로 제공하는 Node.js 서버입니다.
이 프로젝트는 도서관 정보나루 운영기관이 제공하는 공식 MCP와 무관한 독립 오픈소스 프로젝트입니다.
운영 안내 최근 정보나루 API에서 응답 지연과 타임아웃이 간헐적으로 관찰되고 있습니다. 도구 호출이 실패하거나 늦어질 때에는 이 MCP 서버와 정보나루 API 상태를 함께 확인하세요.
제공 도구
현재 27개 도구를 등록합니다.
도서관
search_libraries: 지역·도서관명으로 공공도서관 검색search_nearby_libraries: 좌표에서 가까운 도서관을 거리순으로 검색search_library_codes: 도서관명·지역명으로libCode검색get_library_info: 도서관 통합정보 조회
도서·소장
search_books: 제목·저자·출판사·주제별 도서 검색get_book_detail: ISBN으로 도서 상세정보 조회search_libraries_by_book: 특정 도서를 소장한 도서관 검색check_book_availability: 특정 도서관의 소장 여부와 전일 기준 대출 가능 여부 조회get_new_arrival_books: 도서관별 신착도서 조회
인기·트렌드
search_popular_books: 전국·지역별 인기대출도서 조회search_popular_books_by_library: 도서관·지역별 인기대출도서 조회get_popular_books_by_library: 도서관별 인기대출도서 통합 조회get_hot_trend: 대출 급상승 도서 조회get_monthly_keywords: 이달의 키워드 조회
통계·분석
get_usage_trend: 도서관별 대출·반납 추이 조회get_reading_quantity: 지역별 독서량 조회search_items: 도서관별 장서·대출 데이터 조회get_book_usage_analysis: 도서 이용 분석 조회get_book_keywords: 도서 키워드 조회
추천
get_mania_recommendations: 마니아 추천도서 조회get_reader_recommendations: 다독자 추천도서 조회
코드 조회
get_region_codes: 지역 코드 목록get_detailed_region_codes: 세부 지역 코드 목록search_detailed_region_codes: 세부 지역 코드 검색get_subject_codes: KDC 대분류 코드 목록get_detailed_subject_codes: KDC 세부 분류 코드 목록search_detailed_kdc_codes: KDC 세부 분류 코드 검색
Related MCP server: LexLink Korean Law MCP Server
설치
준비 사항
Node.js 18 이상
도서관 정보나루 API 키
API 키는 정보나루 로그인 후 마이페이지 > 인증키에서 신청할 수 있습니다. 호출 한도와
서버 IP 등록 정책은 정보나루의 최신 안내를 따르세요.
NPX
MCP 클라이언트 설정에 다음 서버를 추가합니다.
{
"mcpServers": {
"data4library-mcp": {
"command": "npx",
"args": ["-y", "@isnow890/data4library-mcp"],
"env": {
"LIBRARY_API_KEY": "your-api-key"
}
}
}
}LIBRARY_API_TIMEOUT_MS로 원천 요청 제한 시간을 조정할 수 있습니다. 기본값은 10초이며
50~60000ms 범위만 허용합니다.
로컬 설치
git clone https://github.com/isnow890/data4library-mcp.git
cd data4library-mcp
npm install
npm run buildMCP 클라이언트에서는 빌드 결과인 dist/src/index.js를 실행합니다.
{
"mcpServers": {
"data4library-mcp": {
"command": "node",
"args": ["/absolute/path/to/data4library-mcp/dist/src/index.js"],
"cwd": "/absolute/path/to/data4library-mcp",
"env": {
"LIBRARY_API_KEY": "your-api-key"
}
}
}
}로컬 실행
export LIBRARY_API_KEY="your-api-key"
npm run build
npm startDocker로 실행할 수도 있습니다.
docker build -t data4library-mcp .
docker run -i --rm -e LIBRARY_API_KEY="$LIBRARY_API_KEY" data4library-mcp사용 예시
“서울 강남구 공공도서관 찾아줘”
search_detailed_region_codes로 지역 코드를 찾고search_libraries를 호출합니다.
“이 ISBN을 소장한 서울 도서관 찾아줘”
search_libraries_by_book을 호출합니다.
“이 도서관에 이 책이 있고 전일 기준으로 대출 가능했어?”
check_book_availability을 호출합니다.
“요즘 20대가 많이 빌린 책 보여줘”
search_popular_books를 연령 조건과 함께 호출합니다.
데이터와 제한사항
데이터 출처는 도서관 정보나루입니다.
소장·통계 데이터의 갱신 시점은 정보나루 원천을 따릅니다.
check_book_availability의 대출 가능 여부는 전일 기준이며 실시간 예약·대출 상태를 보장하지 않습니다.search_nearby_libraries의 거리는 직선거리이며 실제 이동 거리와 다를 수 있습니다.
개발
npm run build
npm run watch자동 회귀 테스트는 아직 구성되어 있지 않습니다.
라이선스
Available Tools
27 toolscheck_book_availabilityAInspect
특정 도서관의 도서 소장 여부와 정보나루 전일 기준 대출 가능 여부를 조회합니다.
Inputs: isbn13 (required), libCode (required).
get_book_detailBInspect
ISBN으로 도서의 상세 정보를 조회합니다.
Inputs: isbn13 (required), loaninfoYN, displayInfo.
get_book_keywordsCInspect
도서 키워드 목록을 조회합니다.
Inputs: isbn13 (required), additionalYN.
get_book_usage_analysisCInspect
도서별 이용 분석을 조회합니다.
Inputs: isbn13 (required).
get_detailed_region_codesCInspect
세부지역 코드를 조회합니다.
Inputs: region (required).
get_detailed_subject_codesCInspect
세부주제 코드를 조회합니다.
Inputs: kdc (required).
get_hot_trendCInspect
대출 급상승 도서를 조회합니다.
Inputs: searchDt (required).
get_library_infoCInspect
도서관별 통합정보를 조회합니다.
Inputs: pageNo, region, libCode, pageSize, +1 more.
get_mania_recommendationsCInspect
마니아 추천도서를 조회합니다.
Inputs: isbn13 (required).
get_monthly_keywordsCInspect
이달의 키워드를 조회합니다.
Inputs: month.
get_new_arrival_booksCInspect
도서관별 신착도서를 조회합니다.
Inputs: libCode (required), searchDt.
get_popular_books_by_libraryCInspect
도서관별 인기대출도서를 조회합니다.
Inputs: libCode (required).
get_reader_recommendationsBInspect
다독자 추천도서를 조회합니다.
Inputs: isbn13 (required).
get_reading_quantityCInspect
지역별 독서량/독서율을 조회합니다.
Inputs: year, month, region, dtl_region.
get_region_codesBInspect
지역 코드 목록을 조회합니다.
Inputs: no named parameters.
get_subject_codesBInspect
KDC 대주제분류 코드 목록을 조회합니다.
Inputs: majorCode.
get_usage_trendCInspect
도서관별 대출반납 추이를 조회합니다.
Inputs: type (required), libCode (required).
search_booksDInspect
도서관 소장 도서를 검색합니다.
Inputs: sort, order, title, author, +6 more.
search_detailed_kdc_codesCInspect
세부주제코드를 검색합니다.
Inputs: limit, keyword, majorCode.
search_detailed_region_codesCInspect
세부지역코드를 검색합니다.
Inputs: limit, keyword, provinceCode.
search_itemsCInspect
도서관별 장서/대출 데이터를 조회합니다.
Inputs: libCode (required), type, endDt, isbn13, +3 more.
search_librariesCInspect
전국의 공공도서관 정보를 검색합니다.
Inputs: pageNo, region, libCode, pageSize, +1 more.
search_libraries_by_bookBInspect
특정 도서를 소장한 도서관을 검색합니다.
Inputs: isbn (required), region (required), pageNo, pageSize, +1 more.
search_library_codesAInspect
도서관명이나 지역명으로 도서관 코드를 검색합니다.
Inputs: limit, regionName, libraryName.
search_nearby_librariesAInspect
사용자의 위치를 기반으로 가까운 도서관들을 거리순으로 검색합니다.
Inputs: latitude (required), longitude (required), count.
search_popular_booksCInspect
인기대출도서를 조회합니다.
Inputs: age, kdc, endDt, gender, +10 more.
search_popular_books_by_libraryCInspect
도서관/지역별 인기대출 도서를 조회합니다.
Inputs: age, kdc, endDt, gender, +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Several tools have heavily overlapping purposes, especially search_popular_books, search_popular_books_by_library, and get_popular_books_by_library, which all concern popular loan books with unclear differences. The code-related tools (get_subject_codes, get_detailed_subject_codes, search_detailed_kdc_codes) and library-search variants also blur boundaries.
All names use snake_case and mostly follow a verb_noun structure, but the use of get_ vs search_ is inconsistent and doesn't clearly separate semantics (e.g., search_popular_books vs get_popular_books_by_library). The naming is readable but lacks a consistent rule.
27 tools exceeds the 25 threshold for 'too many' for a single server. The count is inflated by redundant variations (three popular-book tools, multiple code-list/search tools) that could be consolidated.
The set covers the read-only library domain well: library search, book search/detail, availability, popular books, recommendations, usage trends, and code lookups. There are minor gaps such as no direct tool to search by a specific date range or comprehensive library comparison, but agents can work around them.
Related MCP Connectors
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
All KR Data tools in one server: Korean business checks, addresses, laws, car flood records & more
Korean company facts in English for AI agents: ~830 KOSPI-listed companies (DART profiles, KRW financials, recent filings) and ~110,000 corporate public procurement suppliers (12-month KONEPS contract awards), plus live National Tax Service business status checks. 4 tools, keyless, read-only.
APICK Korean data, simple-auth lookups, document forms, OCR, search, image, video and TTS
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables exploration and interaction with South Korea's Public Data Portal (OpenAPI) through keyword search, standard documentation retrieval, and direct API endpoint calls with automatic service key injection.11Apache 2.0
- -licenseNot gradedqualityNot gradedmaintenanceEnables searching and retrieving Korean legal information including laws, court precedents, legal interpretations, and local ordinances from the Korean National Law Information Center API with intelligent search ranking.-
- FlicenseNot gradedqualityDmaintenanceSearches for children's programs at public facilities like libraries and cultural centers in South Korea, answering natural language queries about schedules, fees, and registration.-
- AlicenseCqualityCmaintenanceEnables exploration of Korean National Assembly data by connecting bills, committee reviews, and official records. Allows users to ask natural language questions and receive structured answers with citations to original documents.829Apache 2.0