Open Library & File Search Server
БесплатноНе проверенMCP server that enables searching books by author via Open Library API and searching keywords inside local text files.
Описание
MCP server that enables searching books by author via Open Library API and searching keywords inside local text files.
README
This project is an MCP (Model Context Protocol) server built with TypeScript and Node.js. It provides two core tools:
search_author— search for books by author using the Open Library API.search_in_file— search for a keyword inside any local text file.
🚀 Features
🔍 search_author
Fetches book data by a given author name from the Open Library API.
Input
{
"author": "tolkien"
}
Output A JSON response containing book search results.
🗂 search_in_file
Scans a file for a keyword and returns the matching lines and their numbers.
Input
{
"filePath": "./sample.txt",
"keyword": "example"
}
Output
Found 2 match(es) for "example" in "./sample.txt":
Line 3: This is an example line
Line 8: Another example text
🏗️ Project Structure
MCP/
├── build/ # Compiled JS files
├── src/ # Source TypeScript files
│ └── index.ts
├── sample.txt # Example file for keyword search
├── package.json
├── tsconfig.json
├── .gitignore
└── README.md
⚙️ Setup & Run
Install dependencies
npm installBuild
npm run buildRun
npm startOr directly (without compiling):
npm run dev
🧩 Example: Using in MCP Inspector
For search_in_file:
{
"filePath": "./sample.txt",
"keyword": "OpenAI"
}
For search_author:
{
"author": "tolkien"
}
🧠 Technologies
- TypeScript
- Node.js
- @modelcontextprotocol/sdk
- Zod
🧾 License
MIT License © 2025
👨💻 Author
Your Name 📧 [email protected] 🌐 github.com/maniranjan2023
Установка Open Library & File Search Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/maniranjan2023/MCP-ServerFAQ
Open Library & File Search Server MCP бесплатный?
Да, Open Library & File Search Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Open Library & File Search Server?
Нет, Open Library & File Search Server работает без API-ключей и переменных окружения.
Open Library & File Search Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Open Library & File Search Server в Claude Desktop, Claude Code или Cursor?
Открой Open Library & File Search Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Open Library & File Search Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
