
ndl mcp
基于日本国立国会图书馆API的书籍检索与数据采集工具。
Repository Info
About This Server
基于日本国立国会图书馆API的书籍检索与数据采集工具。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Next Degital Library MCP Server
このプロジェクトは、国立国会図書館の次世代デジタルライブラリー (NDL) のAPIを利用して、書籍の検索を行うためのMCPサーバーです。 このツールを使用することでAIエージェントが書籍情報の収集・検索を行うことが可能です。
ツール
- search_books
- 資料の横断検索が可能です。
- 入力値
keyword(string): 検索キーワード
- search_in_book
- 指定した資料内の全文検索が可能です。
- 入力値
book_id(string): 資料のPIDkeyword(string): 検索キーワード
- get_page
- 指定したページのデータが取得可能です。
- 入力値
book_id(string): 資料のPIDpage_number(int): ページ番号
前提条件
- Python 3.13以上
使用方法
MCP設定
MCPの設定ファイルに以下の記述を追加してください。
{
"mcpServers": {
"ndl": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/ndl-mcp",
"run",
"ndl.py"
]
}
}
}
注意事項
- 本ツールによって提供される資料データは自由に二次利用が可能です。
- 二次利用する際は次世代デジタルライブラリーの利用規約を必ずご確認いただき、規約に従ってご利用ください。
Quick Start
Clone the repository
git clone https://github.com/sho0318/ndl-mcpInstall dependencies
cd ndl-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.