@Jhzhu89/ Server Web Search
FreeNot checkedEnables web search via Azure OpenAI Responses API with the web_search_preview tool, returning results with citations.
About
Enables web search via Azure OpenAI Responses API with the web_search_preview tool, returning results with citations.
README
MCP Server for web search via Azure OpenAI Responses API with web_search_preview tool.
Installation
Prerequisites
- Bun runtime installed
Claude Code (Recommended)
# Install globally (available in all projects)
claude mcp add web-search bunx @jhzhu89/mcp-server-web-search \
-s user \
-e AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com \
-e AZURE_OPENAI_DEPLOYMENT=gpt-5-mini
# Or install for current project only (default)
claude mcp add web-search bunx @jhzhu89/mcp-server-web-search \
-e AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com \
-e AZURE_OPENAI_DEPLOYMENT=gpt-5-mini
Manual Configuration
Add to your .mcp.json:
{
"mcpServers": {
"web-search": {
"type": "stdio",
"command": "bunx",
"args": ["@jhzhu89/mcp-server-web-search"],
"env": {
"AZURE_OPENAI_ENDPOINT": "https://your-resource.openai.azure.com",
"AZURE_OPENAI_DEPLOYMENT": "gpt-5-mini"
}
}
}
}
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
AZURE_OPENAI_ENDPOINT |
✓ | - | Azure OpenAI endpoint URL |
AZURE_OPENAI_DEPLOYMENT |
gpt-5-mini |
Deployment name | |
AZURE_OPENAI_API_VERSION |
2025-03-01-preview |
API version |
Authentication
This server uses DefaultAzureCredential for Azure authentication. Supported methods:
- Azure CLI (local development): Run
az loginbefore starting - Environment variables: Set
AZURE_CLIENT_ID,AZURE_TENANT_ID,AZURE_CLIENT_SECRET - Managed Identity: Works automatically in Azure environments
Tool: web_search
Search the web for real-time information with source citations.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✓ | Search query |
search_context_size |
"low" | "medium" | "high" |
Amount of context (default: "medium") |
|
user_location |
object | {type, city, country, region, timezone} for localized results |
Output (structuredContent)
{
"results": [
{
"query": "original search query",
"text": "Answer text with inline [citations](url)...",
"citations": [
{
"title": "Source Title",
"url": "https://example.com",
"start_index": 0,
"end_index": 100
}
]
}
]
}
Development
# Clone and install
bun install
# Run locally
export AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
az login
bun run start
# Run with HTTP transport
bun run start:http
# Test
bun test
License
MIT
Install @Jhzhu89/ Server Web Search in Claude Desktop, Claude Code & Cursor
unyly install jhzhu89-mcp-server-web-searchInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add jhzhu89-mcp-server-web-search -- npx -y @jhzhu89/mcp-server-web-searchFAQ
Is @Jhzhu89/ Server Web Search MCP free?
Yes, @Jhzhu89/ Server Web Search MCP is free — one-click install via Unyly at no cost.
Does @Jhzhu89/ Server Web Search need an API key?
No, @Jhzhu89/ Server Web Search runs without API keys or environment variables.
Is @Jhzhu89/ Server Web Search hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install @Jhzhu89/ Server Web Search in Claude Desktop, Claude Code or Cursor?
Open @Jhzhu89/ Server Web Search on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare @Jhzhu89/ Server Web Search with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
