pranavmittal07/mcp_server_file_search
3.1
If you are the rightful owner of mcp_server_file_search and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Keyword Search Tool is a Python-based server utilizing fastmcp to efficiently search for keywords within files, providing precise match details.
MCP Keyword Search Tool (Python + fastmcp)
This project implements an MCP Server using fastmcp which searches for a specific keyword inside a file and returns:
- the exact line number
- the character index where the keyword is found
- the line text
✅ Features
- fast & lightweight MCP tool
- returns keyword match positions instead of whole content
- tested using MCP Inspector
📦 Setup Instructions
1) Create Virtual Environment
python -m venv myenv
2) Activate Virtual Environment
./myenv/Scripts/activate
3) Install Dependencies
pip install fastmcp
Running MCP Inspector and Server
npx @modelcontextprotocol/inspector