OpenAI-WebSearch-MCP-Server
0
The OpenAI Web Search MCP Server provides web search capabilities using OpenAI's API, compatible with Model Context Protocol clients. It facilitates real-time web searches by leveraging OpenAI's Responses API with web search preview features.
OpenAI Web Search MCP Server
A TypeScript implementation of an MCP server offering web search functionality using OpenAI's web search preview feature. Features include real-time web searches through OpenAI's Responses API.
Installation
- Run directly with npx:
npx openai-websearch-mcp-server
- Install globally:
npm install -g openai-websearch-mcp-server
Usage with MCP Clients
- Designed for use with MCP clients, such as Claude Desktop, using configurations.
Environment Setup
- Set OpenAI API key as an environment variable.
- Run the server on the default port or set a custom port.
API
Offers a web search tool named web_search
via the MCP protocol, using OpenAI's Responses API.
Development
- Clone the repository, install dependencies, and start the development server.
Building
Execute npm run build
to build the package.
License
MIT License.