search-and-markdownify-mcp

jiangfengming/search-and-markdownify-mcp

3.2

If you are the rightful owner of search-and-markdownify-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Google Search & Webpage Markdownify MCP Server is a tool that integrates Google search capabilities with the ability to convert webpage content into Markdown format.

Tools
  1. google-search

    Searches Google for a given query and returns a list of search results formatted as Markdown.

  2. webpages-to-markdown

    Fetches the content of the given webpages and converts them into clean, readable Markdown.

Google Search & Webpage Markdownify MCP Server

An MCP (Model Context Protocol) server that provides Google search capabilities and converts webpage content to clean, readable Markdown.

NPM Version

Table of Contents

Features

  • Google Search: Perform Google searches using advanced operators.
  • Web Content Conversion: Fetch content from webpages and convert it to clean Markdown.
  • Batch Processing: Convert multiple webpages to Markdown in a single request.

Prerequisites

Getting Started

To use the server, add the following entry to your MCP configuration file. Remember to replace the placeholder values with your actual Google API Key and Search Engine ID.

{
  "mcpServers": {
    "search-and-markdownify": {
      "command": "npx",
      "args": ["search-and-markdownify-mcp"],
      "env": {
        "GOOGLE_API_KEY": "your-google-api-key",
        "GOOGLE_SEARCH_ENGINE_ID": "your-custom-search-engine-id"
      }
    }
  }
}

Available Tools

This MCP server provides the following tools:

google-search

Searches Google for a given query and returns a list of search results formatted as Markdown. Each result includes a title, a URL, and a snippet from the webpage.

Arguments:

ParameterTypeDescriptionDefault
qstringThe search query for Google. Supports advanced operators like "site:".(req)
numnumberThe maximum number of results to return.5
startnumberThe starting index for results (1-based, for pagination).1

Response:

  • A Markdown-formatted string of search results, including title, link, and snippet for each.

webpages-to-markdown

Fetches the content of the given webpages and converts them into clean, readable Markdown.

Arguments:

ParameterTypeDescription
urlsstring[]A list of URLs for the webpages to be converted to Markdown.

Response:

  • An array of Markdown strings, with each string representing the content of a corresponding webpage.

Contributing

Contributions are welcome! If you have suggestions for improvements or find any issues, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.