Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Open Library & File Search Server

БесплатноНе проверен

MCP server that enables searching books by author via Open Library API and searching keywords inside local text files.

GitHubEmbed

Описание

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:

  1. search_author — search for books by author using the Open Library API.
  2. 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

  1. Install dependencies

    npm install
    
  2. Build

    npm run build
    
  3. Run

    npm start
    

    Or 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


🧾 License

MIT License © 2025


👨‍💻 Author

Your Name 📧 [email protected] 🌐 github.com/maniranjan2023

from github.com/maniranjan2023/MCP-Server

Установка Open Library & File Search Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/maniranjan2023/MCP-Server

FAQ

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

Compare Open Library & File Search Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development