openai-search-mcp
Integrates with OpenAI-compatible APIs to provide web search and web fetching capabilities.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openai-search-mcpsearch for recent advances in renewable energy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenAI Search MCP
English | ็ฎไฝไธญๆ
๐ Integrate OpenAI-compatible API's powerful search capabilities into Claude via MCP protocol, break through knowledge limitations, and access real-time information
Features โข Quick Start โข Usage โข Troubleshooting
๐ Overview
OpenAI Search MCP is a high-performance Node.js/TypeScript MCP server that connects your OpenAI-compatible API to Claude, Claude Code, and other AI assistants. The backend model must provide search capability (search is always performed by your configured endpoint). Web fetching supports three engines: LLM (default, uses the same modelโs browse capability), Tavily, and Firecrawlโselectable via the fetch_engine parameter when you need dedicated crawl services.
โจ Key Features
๐ Real-time Web Search - Powered by your OpenAI-compatible model (must have search)
๐ Configurable Web Fetch - Default LLM; optionally use Tavily or Firecrawl via
fetch_enginefor real HTTP crawl and anti-bot handling๐ Structured Markdown - Full-page extraction and conversion to Markdown
Why offer multiple fetch engines? In practice, (1) LLM fetch is often slower than dedicated crawl APIs (e.g. ~14s vs ~1s for Tavily/Firecrawl). (2) LLM may use cached or inferred content and can add irrelevant text, so the result may not match the live page. When you need fast, faithful, unmodified content, use fetch_engine=tavily or fetch_engine=firecrawl.
๐ Auto Retry - Handles network and transient API errors
๐ฆ Plug & Play - Single
npxcommand, minimal configโก High Performance - Cold start < 1 s, low memory footprint
๐ Type Safety - Full TypeScript definitions
Related MCP server: Tavily Web Search MCP Server
๐ฏ Why Choose OpenAI Search MCP?
Feature | Official WebSearch | OpenAI Search MCP |
Search Quality | Generic | AI Enhanced ๐ง |
Web Fetching | Basic | Deep Extraction ๐ |
Startup Speed | Slower | < 1 second โก |
Customization | Fixed | Highly Configurable โ๏ธ |
Cost | Paid | Use Your Own API Key ๐ฐ |
๐ Quick Start
Prerequisites
Node.js 18+ (with fetch API and ES Modules support)
OpenAI-compatible API - This project uses the OpenAI API format. You need:
An API endpoint (e.g., OpenAI-compatible service)
An API key for that endpoint
Claude Desktop (optional, for GUI integration)
Option 1: Using npx (Recommended)
No installation required, run the latest version directly:
npx openai-search-mcpOption 2: Global Installation
npm install -g openai-search-mcp
openai-searchโ๏ธ Configure Claude Desktop
Step 1: Get API Endpoint and Key
This project uses the OpenAI API format. You need an API endpoint that is compatible with OpenAI's API specification.
Options:
OpenAI-compatible API: Use any service that provides OpenAI-compatible endpoints
Other OpenAI-compatible APIs: Any service that follows the OpenAI API format
You will need:
OPENAI_API_URL: Your API endpoint URL (e.g.,https://api.openai.com/v1)OPENAI_API_KEY: Your API key for that endpointOPENAI_MODEL: The model identifier (default:gpt-4o)
Step 2: Configure Environment Variables
Edit ~/.config/claude/claude_desktop_config.json (macOS/Linux) or %APPDATA%\claude\claude_desktop_config.json (Windows). Pick one of the three scenarios below and copy the matching config.
Scenario 1: Use LLM for fetch only (default)
No Tavily/Firecrawl; web_fetch uses your OpenAI-compatible model. Only required vars.
{
"mcpServers": {
"openai-search": {
"type": "stdio",
"command": "npx",
"args": ["-y", "openai-search-mcp"],
"env": {
"OPENAI_API_URL": "https://api.openai.com/v1",
"OPENAI_API_KEY": "your-api-key-here",
"OPENAI_MODEL": "gpt-4o"
}
}
}
}Scenario 2: Use Tavily as default fetch engine
Set FETCH_ENGINE=tavily and Tavily keys so that when fetch_engine is not passed, Tavily is used.
{
"mcpServers": {
"openai-search": {
"type": "stdio",
"command": "npx",
"args": ["-y", "openai-search-mcp"],
"env": {
"OPENAI_API_URL": "https://api.openai.com/v1",
"OPENAI_API_KEY": "your-api-key-here",
"OPENAI_MODEL": "gpt-4o",
"FETCH_ENGINE": "tavily",
"TAVILY_API_KEY": "tvly-your-tavily-key",
"TAVILY_API_URL": "https://api.tavily.com"
}
}
}
}Scenario 3: Use Firecrawl as default fetch engine
Set FETCH_ENGINE=firecrawl and Firecrawl keys so that when fetch_engine is not passed, Firecrawl is used.
{
"mcpServers": {
"openai-search": {
"type": "stdio",
"command": "npx",
"args": ["-y", "openai-search-mcp"],
"env": {
"OPENAI_API_URL": "https://api.openai.com/v1",
"OPENAI_API_KEY": "your-api-key-here",
"OPENAI_MODEL": "gpt-4o",
"FETCH_ENGINE": "firecrawl",
"FIRECRAWL_API_KEY": "your-firecrawl-api-key",
"FIRECRAWL_API_URL": "https://api.firecrawl.dev/v2"
}
}
}
}Required (all scenarios):
OPENAI_API_URL,OPENAI_API_KEY;OPENAI_MODELis optional (defaultgpt-4o).Default fetch engine:
FETCH_ENGINE=llm|tavily|firecrawl; when unset, defaults tollm. You can still passfetch_engineper call to override.Scenario 2 requires
TAVILY_API_KEY; Scenario 3 requiresFIRECRAWL_API_KEY. The*_API_URLvalues usually need not be changed.
Important:
Replace
https://your-api-endpoint.com/v1with your actual API endpointReplace
your-api-key-herewith your actual API keyThe endpoint must be OpenAI-compatible
Step 3: Restart Claude Desktop
After configuration, completely quit and restart Claude Desktop.
Step 4: Verify Installation
In Claude conversation, type:
Show openai-search config infoOr
Search for latest TypeScript 5.5 features๐ ๏ธ Available Tools
1๏ธโฃ web_search - Web Search
Execute intelligent search and return structured results.
Parameters:
query(required) - Search keywordsplatform(optional) - Specify platform like "github", "stackoverflow"min_results(optional) - Minimum results, default 3max_results(optional) - Maximum results, default 10
Usage Examples:
Search for latest Next.js 15 updates
Search TypeScript 5.5 new features, return 5 results
Search for openai-search projects on GitHub2๏ธโฃ web_fetch - Web Fetching
Extract complete content from a URL and return it as Markdown. You can choose which engine performs the fetch:
Parameters:
url(required) - Web page URL to fetchfetch_engine(optional) -"llm"|"tavily"|"firecrawl". When omitted, the server default is used (envFETCH_ENGINE, defaultllm).llm โ Uses your OpenAI-compatible model (requires model browse capability). Often slower; may return cached or model-inferred content and sometimes adds extra text.
tavily โ Tavily Extract API (set
TAVILY_API_KEY). Typically faster and returns real page content.firecrawl โ Firecrawl Scrape API (set
FIRECRAWL_API_KEY). Typically faster and returns real page content.
Usage Examples:
Fetch README from https://github.com/lie5860/openai-search-mcp
Fetch https://example.com using Tavily (fetch_engine=tavily)
Get full doc from https://www.typescriptlang.org/docs (default LLM)3๏ธโฃ get_config_info - Configuration Diagnostics
Get current configuration and connection status.
Returns:
API URL, model, and connection test (response time, available models)
fetch_engines โ
default(current default fetch engine fromFETCH_ENGINE), and whether Tavily/Firecrawl are configured
Usage Examples:
Show openai-search config info4๏ธโฃ switch_model - Model Switching
Dynamically switch AI models.
Parameters:
model(required) - Model ID (e.g., "gpt-4o", "gpt-4o-mini")
Usage Examples:
Switch to gpt-4o-mini model
Switch model to gpt-4o5๏ธโฃ toggle_builtin_tools - Tool Management
Disable/Enable Claude's built-in search tools.
Parameters:
action(optional) - "on" disable built-in tools, "off" enable built-in tools, "status" view status
Usage Examples:
Disable official WebSearch tool
View current tool status๐ป Development Guide
Building from Source
# Clone repository
git clone https://github.com/lie5860/openai-search-mcp.git
cd openai-search-mcp
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run development server
npm run dev
# Self-test (run after build)
npm run test-server # Config + search + LLM fetch
npm run test-search # Search + LLM fetch
npm run test-fetch # All fetch engines (llm / tavily / firecrawl)Project Structure
openai-search-mcp/
โโโ src/
โ โโโ server.ts # MCP server main entry
โ โโโ config/ # Configuration management
โ โโโ providers/ # OpenAI-compatible API provider
โ โโโ utils/ # Utilities (fetch polyfill, retry, logger)
โ โโโ types/ # TypeScript type definitions
โโโ bin/
โ โโโ openai-search.js # CLI command entry
โโโ dist/ # Build output directory
โโโ package.json
โโโ tsconfig.json
โโโ README.mdTech Stack
Runtime: Node.js 18+
Language: TypeScript 5.5+
MCP SDK: @modelcontextprotocol/sdk ^1.0.4
HTTP Client: Fetch API + Undici (auto polyfill)
Config Management: dotenv
Module System: ES Modules (ESM)
๐ง Environment Variables
Variable | Description | Required | Default |
| OpenAI-compatible API endpoint (must support search) | Yes | - |
| API key for your endpoint | Yes | - |
| Model identifier | No |
|
| Debug mode | No |
|
| Log level | No |
|
| Tavily API key (for | No | - |
| Tavily API base URL | No |
|
| Firecrawl API key (when using firecrawl as default or per call) | No | - |
| Firecrawl API base URL | No |
|
| Default fetch engine when | No |
|
๐ฅ Troubleshooting
โ Issue 1: Connection Failed
Error: โ Connection failed or API error
Solutions:
Check if
OPENAI_API_URLis correct and points to an OpenAI-compatible endpointVerify if
OPENAI_API_KEYis valid for your API providerConfirm network connection is working
Use
get_config_infotool for diagnostics
โ Issue 2: Module Not Found
Error: Cannot find module
Solutions:
# Reinstall dependencies
npm install
# Rebuild
npm run buildโ Issue 3: Permission Error
Error: EACCES
Solutions:
# Linux/macOS use sudo
sudo npm install -g openai-search-mcp
# Or recommend using npx (no permissions needed)
npx openai-search-mcpโ Issue 4: fetch is not defined
Error: ReferenceError: fetch is not defined
Cause: fetch API not properly initialized in Node.js environment
Solutions:
Check Node.js version:
node --version # Should be >= 18.0.0Ensure using latest version (v1.0.1+ includes fetch polyfill):
npm update openai-search-mcp
# Or use npx directly
npx openai-search-mcpIf problem persists, please file an issue: https://github.com/lie5860/openai-search-mcp/issues
๐ Advanced Configuration
Claude Desktop Prompt Optimization
Edit ~/.claude/CLAUDE.md and add the following for better experience:
# OpenAI Search MCP Usage Guide
## Activation
- Prioritize OpenAI Search for web search needs
- Auto-activate when latest information is needed
- Use web_fetch for web content extraction
## Tool Selection Strategy
| Scenario | Recommended Tool | Parameters |
|----------|-----------------|------------|
| Quick search | web_search | min_results=3, max_results=5 |
| Deep research | web_search + web_fetch | Search first, then fetch key pages |
| Specific platform | web_search | Set platform parameter |
| Complete docs | web_fetch | Fetch URL directly |
## Output Guidelines
- **Must cite sources**: `[Title](URL)`
- **Time-sensitive info**: Note retrieval date
- **Multi-source validation**: Cross-validate important info
- **No fabrication**: Clearly state when no results found
## Error Handling
- No results โ Relax query or change keywords
- Connection failed โ Use get_config_info to diagnose
- Timeout โ Reduce max_results or retry๐ Performance Comparison
Metric | Python Version | Node.js Version (This Project) |
Cold Start | ~2-3 seconds | < 1 second โก |
Memory Usage | ~50MB | < 30MB ๐พ |
Package Size | ~15MB | ~5MB ๐ฆ |
Type Safety | Type hints | Full TypeScript ๐ |
Deployment | Needs virtual env | npx one-click run ๐ |
๐ค Contributing
Contributions, issues, and feature requests are welcome!
Fork the repository
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
๐ License
This project is licensed under the MIT License.
๐ Acknowledgments
Model Context Protocol - Powerful AI context protocol
Claude - Excellent AI assistant by Anthropic
๐ Tribute to Original Project
This project is based on GuDaStudio/GrokSearch (MIT License). Big thanks to the original author for the excellent work!
Key Changes:
โ Migrated from Python to TypeScript/Node.js
โ Added Fetch Polyfill for better environment compatibility
โ Optimized project structure and modular design
โ Complete TypeScript type definitions
โ Faster startup speed and smaller package size
Important Note: This project uses the OpenAI API format and requires an OpenAI-compatible API endpoint.
The original project (Python version) is equally excellent. If you're more familiar with the Python ecosystem, we recommend using the original version:
๐ฎ Contact
If this project helps you, please give it a โญ๏ธ Star!
Made with โค๏ธ by lie5860
Available Tools
5 toolsget_config_infoA
Returns the current OpenAI Search MCP server configuration information and tests the connection.
This tool is useful for:
Verifying that environment variables are correctly configured
Testing API connectivity by sending a request to /models endpoint
Debugging configuration issues
Checking the current API endpoint and settings
Returns
A JSON-encoded string containing configuration details:
api_url: The configured OpenAI-compatible API endpointapi_key: The API key (masked for security, showing only first and last 4 characters)model: The currently selected model for search and fetch operationsdebug_enabled: Whether debug mode is enabledlog_level: Current logging levellog_dir: Directory where logs are storedconfig_status: Overall configuration status (โ complete or โ error)connection_test: Result of testing API connectivity to /models endpointstatus: Connection statusmessage: Status message with model countresponse_time_ms: API response time in millisecondsavailable_models: List of available model IDs (only present on successful connection)
Notes
API keys are automatically masked for security
This tool does not require any parameters
Useful for troubleshooting before making actual search requests
Automatically tests API connectivity during execution
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description fully discloses behavior: it automatically tests API connectivity to /models endpoint, masks the API key, includes response time, and only includes available_models on success. This covers side effects, security, and output nuances.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a clear opening sentence, bulleted use cases, a 'Returns' section detailing fields, and 'Notes'. It is detailed but every part earns its place, and the front-loaded purpose makes it scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given there is no output schema, the description thoroughly explains the return value structure and behavior. It also covers configuration details, connection testing, and security measures, making it complete for an agent to invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0 parameters, the input schema is empty and the baseline is 4. The description additionally notes that no parameters are required, which adds clarity. No further parameter explanations are needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function with a specific verb and resource: 'Returns the current OpenAI Search MCP server configuration information and tests the connection.' This distinguishes it from sibling tools like web_search or switch_model.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit use cases ('Verifying that environment variables are correctly configured', 'Testing API connectivity', 'Debugging configuration issues'), which gives clear context. However, it does not explicitly mention alternatives or when not to use the tool, though sibling tools are clearly different in purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
switch_modelA
Switches the default AI model used for search and fetch operations, and persists the setting.
This tool is useful for:
Changing the AI model used for web search and content fetching
Testing different models for performance or quality comparison
Persisting model preference across sessions
Parameters
model : str The model ID to switch to (e.g., "gpt-4o", "gpt-4o-mini")
Returns
A JSON-encoded string containing:
status: Success or error statusprevious_model: The model that was being used beforecurrent_model: The newly selected modelmessage: Status messageconfig_file: Path where the model preference is saved
Notes
The model setting is persisted to ~/.config/openai-search/config.json
This setting will be used for all future search and fetch operations
You can verify available models using the get_config_info tool
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Even without annotations, the description discloses key behavioral traits: persistence to a specific config file path, that the setting applies to all future operations, and a detailed return JSON with status, previous/current model, and config file location. This fully compensates for missing annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections (Purpose, Parameters, Returns, Notes). Each section adds useful information without redundancy, and the main purpose is stated upfront.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter configuration tool, the description covers all relevant context: side effects (persistence), config file location, return format, and a pointer to a related tool for verification. It is fully sufficient for an agent to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides a description ('Model ID') with 100% coverage, and the description adds examples and clarifies the parameter is the model to switch to. This goes slightly beyond the schema's baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's function: switching and persisting the default AI model for search and fetch operations. It uses a specific verb ('switches') and distinguishes itself from sibling tools like web_search and get_config_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It lists concrete use cases (changing the model, testing models, persisting preferences) and references get_config_info for verifying available models. However, it does not explicitly state when not to use the tool or compare against all siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
toggle_builtin_toolsA
Toggle Claude Code's built-in WebSearch and WebFetch tools on/off.
Parameters: action - "on" (block built-in), "off" (allow built-in), "status" (check) Returns: JSON with current status and deny list
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action type | status |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description carries the burden of explaining behavior. It clearly defines the meaning of each action ('on' blocks built-in tools, 'off' allows them) and states the return format (JSON with current status and deny list). It does not disclose the scope (e.g., session vs persistent), but for a simple toggle, this is a reasonable disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is exactly two sentences with no filler. It leads with the core purpose, then unpacks the parameter and return value in a structured manner. Each sentence serves a distinct informative role.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter tool, the description covers the purpose, the parameter values and their behavior, and the return structure. Although it doesn't mention the scope of the toggle, the overall picture is sufficiently complete for an agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema only describes 'action' as 'Action type' with an enum, but the description enriches each enum value with semantics: 'on' blocks, 'off' allows, 'status' checks. This goes beyond the schema's minimal description, so the description adds meaningful parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool toggles Claude Code's built-in WebSearch and WebFetch tools on/off, using the specific verb 'toggle' and naming the precise resources. This distinguishes it from sibling tools like web_search/web_fetch (which are the targets) and get_config_info/switch_model (which handle other settings).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the action parameter (on/off/status) and thus implies when to use the tool, but it does not explicitly contrast it with alternatives or state when not to use it. It does not mention that to actually perform a search, one should use web_search instead. Hence, usage guidance is only implicit, not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
web_fetchA
Fetches and extracts the complete content from a specified URL and returns it as a structured Markdown document.
The url should be a valid HTTP/HTTPS web address pointing to the target page.
Ensure the URL is complete and accessible (not behind authentication or paywalls).
fetch_engine (optional): Which engine to use. When omitted, the server uses the FETCH_ENGINE env (default llm). llm = OpenAI-compatible model; tavily / firecrawl = dedicated crawl (set TAVILY_API_KEY or FIRECRAWL_API_KEY).
Returns
A Markdown-formatted string containing:
Metadata header (source URL, title, fetch timestamp)
Table of Contents (if applicable)
Complete page content with preserved structure
All text, links, images, tables, and code blocks from the original page
Notes
Does NOT summarize or modify content - returns complete original text
tavily/firecrawlperform real HTTP fetch and handle anti-bot;llmdepends on the model's browse capability.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the web page to fetch | |
| fetch_engine | No | Engine for fetch: llm (model), tavily (Tavily API), firecrawl (Firecrawl API). When omitted, server uses FETCH_ENGINE env. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It reveals that the tool does NOT summarize or modify content, returns original text with specific elements, and explains that different engines (llm vs tavily/firecrawl) have different capabilities and dependencies (e.g., anti-bot handling, API keys). This provides solid insight into behavior beyond the basic fetch action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately structured with sections for Returns and Notes, and each sentence provides useful information. It is slightly longer than many tool descriptions, but given the need to explain engine options and output format, it is not bloated. The main action is stated upfront.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The absence of an output schema means the description must explain return values, and it does so thoroughly with a detailed Returns list (metadata, table of contents, content structure). It also covers engine behaviors and limitations. For a tool with two parameters and moderate complexity, all essential context is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds meaningful semantics: URL must be valid and accessible, and the fetch_engine parameter is explained in depth (default via FETCH_ENGINE env, llm model-based, tavily/firecrawl dedicated crawl with API key requirements). This goes beyond the schema's brief descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Fetches and extracts the complete content from a specified URL and returns it as a structured Markdown document.' This uses a specific verb and resource, and the output format is explicit. However, it does not explicitly distinguish itself from sibling tools like 'web_search', so it misses the top score for sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implied usage context by explaining what kind of URL is acceptable (valid HTTP/HTTPS, not behind auth) and mentions engine choices, but it does not explicitly state when to prefer this tool over alternatives like web_search. There are no direct 'when to use' or 'when not to use' instructions, so it stops at implied usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
web_searchA
Performs a third-party web search based on the given query and returns the results as a JSON string.
The query should be a clear, self-contained natural-language search query.
When helpful, include constraints such as topic, time range, language, or domain.
The platform should be the platforms which you should focus on searching, such as "Twitter", "GitHub", "Reddit", etc.
The min_results and max_results should be the minimum and maximum number of results to return.
Returns
A JSON-encoded string representing a list of search results. Each result includes at least:
url: the link to the resulttitle: a short titlesummary: a brief description or snippet of the page content.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query keyword | |
| platform | No | Specify search platform | |
| max_results | No | Maximum number of results | |
| min_results | No | Minimum number of results |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility for behavioral disclosure. It explains the return format (JSON string with url, title, summary) and general search behavior, but lacks information about error handling, rate limits, potential side effects, or what happens with no results. The return structure is helpful, but overall transparency is moderate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a brief opening, parameter guidance, and a clear Returns section. It is slightly longer than strictly necessary but every section earns its place, providing useful examples and output details without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity, four parameters, and no output schema, the description covers all aspects: query formulation, platform, min/max results, and return format. It could mention edge cases like empty results or errors, but for a search tool the provided information is largely sufficient. The absence of an explicit distinction from web_fetch is a minor gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, but the description adds substantial meaning beyond the schema. It explains that query should be a clear, self-contained natural-language query with optional constraints, provides concrete examples for platform (Twitter, GitHub, Reddit), and clarifies min_results/max_results as bounds on the result count. This goes well beyond the bare schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool performs a third-party web search and returns results as a JSON string. The verb 'performs' plus resource 'web search' is specific, and the tool name aligns. It implicitly distinguishes from sibling web_fetch by focusing on search rather than fetching a specific page.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides detailed guidance on how to formulate queries and use platform/min_results/max_results parameters, but it never explicitly says when to use this tool versus alternatives like web_fetch. Usage context is implied by the tool name and behaviors, but no clear 'use this for X, not for Y' guidance is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v0.1.1- First observed
get_config_info - First observed
switch_model - First observed
toggle_builtin_tools - First observed
web_fetch - First observed
web_search
TDQS
Scored across 5 tools
Each tool serves a clearly distinct purpose: searching the web, fetching page content, toggling built-in tools, retrieving configuration, and switching models. There is no functional overlap or ambiguity between them.
All tool names follow a consistent snake_case verb_object pattern (e.g., web_search, get_config_info, switch_model). No mixed conventions or unpredictable naming styles.
With 5 tools, the server is well-scoped for its purpose of providing web search/fetch plus configuration management. Each tool is necessary and earns its place without excessive redundancy.
The tool set covers the essential operations: searching, fetching content, inspecting configuration, switching models, and managing built-in tool integration. There are no obvious missing capabilities for this domain.
Maintenance
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Live AI-native web search with citations. One tool for every MCP client. Flat per-request pricing.
Web MCP: scrape/crawl sites, web search, brand assets, app stores, YouTube, Reddit, Hacker News.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries via the MCP protocol.41-
- FlicenseCqualityDmaintenanceEnables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries through the MCP protocol.3-
- AlicenseNot gradedqualityDmaintenanceEnables web search through Exa or Parallel APIs for MCP-compatible AI clients like Cursor and Claude Code.13 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI agents to perform multi-engine web search, fetch web pages, and extract clean Markdown content via MCP, with no API keys required.38MIT