Skip to main content

Add your description here

Project description

WebSearch MCP Server

A simple web search server that supports free search and converts URL content to Markdown. 中文

Features

  • Web Search: Perform web searches using different providers. Supported providers: Bing, Baidu, Google(with browser_use).
  • Markdown Conversion: Convert the content of a URL into Markdown format.
  • Wechat Official Account Articles: Search and retrive wechat official account articles content.
  • GitHub Search: Easily search for anything on GitHub — repositories, users, issues, and more.

Getting Started

Prerequisites

  • Python 3.12 or higher
  • uv for dependency management (or pip)

Installation

  1. Clone the repository:

    git clone https://github.com/Howe829/websearch-mcp-server.git
    cd websearch-mcp-server
    
  2. Install the dependencies using uv (Recomend):

    uv venv && uv sync
    

    Or, if you prefer using pip:

    pip install -r requirements.txt
    

Configuration

  1. Create a .env file based on the .env.example file:

    cp .env.example .env
    
  2. Modify the .env file with your desired settings:

    BING_SEARCH_BASE_URL="https://www.bing.com"
    LANGUAGE="en"
    CC="us"
    IMPERSONATE="edge"
    HOST=127.0.0.1
    PORT=8002
    SERVER_MODE=streamable-http
    

Usage

Run the server using uv:

uv run python server.py

Or run the server using python:

source .venv/bin/activate
python server.py

Contribution

Contributions are welcome!

This project uses pytest for unit tests

uv pip install pytest
uv pip install pytest-asyncio
uv run pytest

And use the ruff for code sytle formatting

uv pip install ruff
ruff format .

use mcp inpector to debug this server

uv run fastmcp dev server.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_howe829_websearch_mcp_server-0.1.2.tar.gz.

File metadata

  • Download URL: iflow_mcp_howe829_websearch_mcp_server-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_howe829_websearch_mcp_server-0.1.2.tar.gz
Algorithm Hash digest
SHA256 165f5814fa9e43266311beed2ad1277eec3e29f3adf7cd7383df7a16a41aacf1
MD5 760a09ab5fc0a3cf6cf12effbd938ad1
BLAKE2b-256 8f67b041734a5637e26663b313a3d5f659381b961e9d52de2f8528e4a5783883

See more details on using hashes here.

File details

Details for the file iflow_mcp_howe829_websearch_mcp_server-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_howe829_websearch_mcp_server-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_howe829_websearch_mcp_server-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1836f4b070342941059ef0c88ce410eda6a3095bc3201098a4f99661b76e67fe
MD5 19840a46ded3ad5b8b52870e4cd1a655
BLAKE2b-256 e7f82ab4c7f03fc8aa6a91c1f0dc75c21f32a4425727128640cd4fac938d2371

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page