drio
Open app

web-search-agent

Source

Showcase: Let an agentic coding assistant create a small web search agent with Pydantic AI using MCP server

Catalog onlyCatalog onlySTDIO

Overview

The web-search-agent is a coding assistant that helps users create a small web search agent using Pydantic AI and the MCP server.

To use the web-search-agent, ensure you have the Roo Code Vscode extension installed, configure Claude 3.5 Sonnet into Roo Code, and set up the Fetch MCP Server. Then, follow the provided instructions to create your web search agent.

  • Agentic coding assistance for web search agent creation - Utilizes Pydantic AI for enhanced functionality - Integration with MCP server for seamless operation
  1. Developing custom web search agents for specific queries.
  2. Automating web searches for data retrieval.
  3. Enhancing coding workflows with AI assistance.

Add to your AI client

Use these steps to connect web-search-agent in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "web-search-agent-thetom42": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "web-search-agent-thetom42": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "web-search-agent-thetom42": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "web-search-agent-thetom42": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "web-search-agent-thetom42": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "web-search-agent-thetom42": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-web-search-agent-thetom42"
      ]
    }
  }
}

FAQ

What are the prerequisites for using web-search-agent?

You need the Roo Code Vscode extension, Claude 3.5 Sonnet configured, and the Fetch MCP Server set up.

Is there any cost associated with using web-search-agent?

The project is open-source and free to use.

Can I customize the web search agent?

Yes! The web-search-agent allows for customization based on your specific needs.