Purpose: data4library-mcp is a Node.js-implemented MCP server that wraps the library and book data APIs of the Korean "Library Information Window" (도서관 정보나루) into MCP tools for calling by MCP-compatible clients. The project states that it is unrelated to the official MCP provided by the Information Window's operating organization and is an independent open-source project.
Main capabilities: 27 tools are currently registered, which can be divided into the following categories.
- Library queries: search public libraries by region or library name (search_libraries); search nearby libraries by coordinates from nearest to farthest (search_nearby_libraries); look up libCode by library name or region name (search_library_codes); query comprehensive library information (get_library_info).
- Books and holdings: search books by title, author, publisher, or subject (search_books); look up details by ISBN (get_book_detail); find which libraries hold a given book (search_libraries_by_book); check whether a specified library holds a given book and its borrowing availability based on the previous day (check_book_availability); query a library's newly arrived books (get_new_arrival_books).
- Popularity and trends: query popular borrowed books nationwide or by region (search_popular_books); query popular borrowing by library or region (search_popular_books_by_library, get_popular_books_by_library); query books with rapidly rising borrowing volume (get_hot_trend); query this month's keywords (get_monthly_keywords).
- Statistics and analysis: query library lending and return trends (get_usage_trend); query regional reading volume (get_reading_quantity); query library holdings and borrowing data (search_items); query book usage analysis (get_book_usage_analysis); query book keywords (get_book_keywords).
- Recommendations: expert-recommended books (get_mania_recommendations) and heavy-reader-recommended books (get_reader_recommendations).
- Code lookup: region code list, detailed region code list and search (get_region_codes, get_detailed_region_codes, search_detailed_region_codes); KDC top-level codes, subdivision codes and subdivision search (get_subject_codes, get_detailed_subject_codes, search_detailed_kdc_codes).
Usage: You must first log in to the Library Information Window and apply for an API key under "My Page > Authentication Key"; the call quota and server IP registration policy are subject to the latest instructions in the Library Information Window. Add this server in the MCP client configuration; the client runs the build artifact dist/src/index.js. The source request timeout can be adjusted via the environment variable LIBRARY_API_TIMEOUT_MS, defaulting to 10 seconds, with only 50 to 60000 milliseconds allowed. It can also be run using Docker. The project documentation provides several usage examples, such as first using search_detailed_region_codes to find a region code and then calling search_libraries to search for "Seoul Gangnam-gu public libraries", using search_libraries_by_book to look up Seoul libraries holding a given ISBN, using check_book_availability to check the previous day's borrowing availability of a given book at a given library, and calling search_popular_books with an age condition to look up books frequently borrowed by readers in their 20s recently.
Use cases: Suitable for building book search, holdings location, popular trends and reading statistics query workflows for Korean public libraries in an MCP client.
Limitations: The data source is the Library Information Window, and the update timing of holdings and statistics data is subject to the source site; the borrowing availability of check_book_availability is based on the previous day and does not guarantee real-time reservation or borrowing status; the distance in search_nearby_libraries is straight-line distance and may differ from actual travel distance; the source API has occasionally shown response delays and timeouts recently, so when tool calls fail or slow down, check both the MCP server and the Library Information Window API status; the project has not yet configured automated regression tests.