MCP Open Library & File Search Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Open Library & File Search Serverfind books by J.K. Rowling"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ 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:
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 textRelated MCP server: Lyceum
๐๏ธ 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
๐งพ License
MIT License ยฉ 2025
๐จโ๐ป Author
Your Name ๐ง maniranjan1512@gmail.com ๐ github.com/maniranjan2023
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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