Skip to main content
Glama
maniranjan2023

MCP Open Library & File Search Server

📚 MCP Open Library & File Search Server

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

Related MCP server: LibraryMCP

🏗️ 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 📧 maniranjan1512@gmail.com 🌐 github.com/maniranjan2023

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server that allows searching and retrieving book information from Aladin's book store API, including book details, bestseller lists, and category-based searches.
    Last updated
    9
    4
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A library management MCP server supporting book search, member management, and loan operations through natural language commands.
    Last updated
    4
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    A well-documented MCP server that exposes a local SQLite catalog of public-domain books through tools like search, get, filter by genre, top-rated, and catalog stats.
    Last updated
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    A comprehensive MCP server for searching books, films, and scholarly publications across multiple APIs like Open Library, Google Books, TMDb, and Crossref, with advanced filtering and deduplication.
    Last updated
    17

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maniranjan2023/MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server