textSearch

tuningfolk/textSearch

3.1

If you are the rightful owner of textSearch 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.

MCP Server that searches for a word within a file is a specialized server designed to efficiently locate specific words or phrases within text files using the Model Context Protocol (MCP).

textSearch

MCP Server that searches for a word within a file

Setup

git clone https://github.com/tuningfolk/textSearch.git
cd textSearch
python -m venv venv
source venv/bin/activate   # Windows: venv\Scripts\activate
pip install -r requirements.txt

Run the server

python server.py

Testing with MCP Inspector

While the server is running, in a new terminal:

npx @modelcontextprotocol/inspector

Connect via stdio transport.

Choose search_keyword tool and provide:

{
  "file_path": "examples/file1_system.txt",
  "keyword": "system"
}

View JSON output in the right panel.