Skip to main content
Glama

get_available_engines

Retrieve available search engines to configure and customize search queries within the SearXNG MCP server.

Instructions

Get information about available search engines

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the 'get_available_engines' tool handler using FastMCP.
    @mcp.tool()
    def get_available_engines() -> Dict[str, Any]:
        """Get information about available search engines"""
        logger.info("Fetching available engines information")
        try:
            response = client.get(urljoin(SEARXNG_URL, "/config"))
            response.raise_for_status()
            result = response.json()
            logger.info("Successfully retrieved engine information")
            return result
        except httpx.HTTPError as e:
            logger.error(f"HTTP error occurred while fetching engines: {str(e)}")
            raise
        except Exception as e:
            logger.error(f"Unexpected error while fetching engines: {str(e)}")
            raise
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/maccam912/searxng-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server