This is an MCP server that passes requests from an LLM to a search engine (eg DuckDuckGo). The benefit of using this with a local LLM like LM Studio, is the bypass of paywalls. Everything runs freely off your local system(s).
To install, make sure you first run:
pip install ddgs
Then run the file: python mcp_server.py
Note the path to this file as it is used to configure the JSON config of your LLM.
For more information on setup with an LLM, such as LM Studio, see: