{"id":26370050,"url":"https://github.com/leehanchung/bing-search-mcp","last_synced_at":"2025-03-16T23:17:48.515Z","repository":{"id":282638947,"uuid":"949213032","full_name":"leehanchung/bing-search-mcp","owner":"leehanchung","description":"MCP Server for Bing Search","archived":false,"fork":false,"pushed_at":"2025-03-15T23:48:28.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T00:24:33.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leehanchung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-15T23:29:35.000Z","updated_at":"2025-03-15T23:48:31.000Z","dependencies_parsed_at":"2025-03-16T00:36:27.322Z","dependency_job_id":null,"html_url":"https://github.com/leehanchung/bing-search-mcp","commit_stats":null,"previous_names":["leehanchung/bing-search-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehanchung%2Fbing-search-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehanchung%2Fbing-search-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehanchung%2Fbing-search-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehanchung%2Fbing-search-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leehanchung","download_url":"https://codeload.github.com/leehanchung/bing-search-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945569,"owners_count":20372897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T23:17:48.103Z","updated_at":"2025-03-16T23:17:48.508Z","avatar_url":"https://github.com/leehanchung.png","language":"Python","funding_links":[],"categories":["Search \u0026 Extraction","Web Search MCP Servers","MCP 服务器精选列表","Community Servers","🤖 AI/ML","پیاده‌سازی‌های سرور","Search","Search \u0026 Data Extraction","News and Media","🗂️ Extensions by Category","Table of Contents","🔎 Search \u0026 Data Extraction (83 servers)","Server Implementations"],"sub_categories":["Web Search Engines","🔍 搜索","🔎 \u003ca name=\"search\"\u003e\u003c/a\u003eجستجو و استخراج داده","How to Submit","🌐 Web Services","AI Services","🔎 \u003ca name=\"search\"\u003e\u003c/a\u003eSearch \u0026 Data Extraction"],"readme":"# Bing Search MCP Server\n\nA Model Context Protocol (MCP) server for Microsoft Bing Search API integration, allowing AI assistants to perform web, news, and image searches.\n\n[![smithery badge](https://smithery.ai/badge/@leehanchung/bing-search-mcp)](https://smithery.ai/server/@leehanchung/bing-search-mcp)\n\n![Bing Search MCP Server](assets/mcp_server_bing_search.png)\n\n\n## Features\n\n- Web search for general information\n- News search for recent events and timely information\n- Image search for visual content\n- Rate limiting to prevent API abuse\n- Comprehensive error handling\n\n## Requirements\n\n- Python 3.10 or higher\n- Microsoft Bing Search API key\n- MCP-compatible client (e.g., Claude Desktop, Cursor)\n\n## Installation\n\n1. Clone this repository\n2. Install dependencies:\n   ```\n   uv venv\n   source .venv/bin/activate  # On Windows: .venv\\Scripts\\activate\n   uv pip install -e .\n   ```\n\n## Configuration\n\nSet the required environment variables:\n\n```bash\nexport BING_API_KEY=\"your-bing-api-key\"\nexport BING_API_URL=\"https://api.bing.microsoft.com/\"  # Optional\n```\n\nFor Windows:\n```cmd\nset BING_API_KEY=your-bing-api-key\nset BING_API_URL=https://api.bing.microsoft.com/\n```\n\n## Usage\n\n### Running the server\n\n```\nuv run -m mcp_server_bin_search\n```\n\n### Configuring with Claude for Desktop\n\nAdd the following to your Claude Desktop configuration file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS or `%APPDATA%\\Claude\\claude_desktop_config.json` on Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"bing-search\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"/path/to/your/folder\",\n        \"run\",\n        \"-m\",\n        \"mcp_server_bin_search\"\n      ],\n      \"env\": {\n        \"BING_API_KEY\": \"your-bing-api-key\"\n      }\n    }\n  }\n}\n```\n![Claude Code Bing Search MCP](assets/claude_bing_search.png)\n\n## Available Tools\n\n### 1. bing_web_search\nGeneral web search for information, websites, and content.\n\n```python\nbing_web_search(query: str, count: int = 10, offset: int = 0, market: str = \"en-US\")\n```\n\n### 2. bing_news_search\nSearch for news articles and current events.\n\n```python\nbing_news_search(query: str, count: int = 10, market: str = \"en-US\", freshness: str = \"Day\")\n```\n\n### 3. bing_image_search\nSearch for images.\n\n```python\nbing_image_search(query: str, count: int = 10, market: str = \"en-US\")\n```\n\n## Getting a Bing API Key\n\n1. Visit [Microsoft Azure Portal](https://portal.azure.com/)\n2. Create or sign in to your Azure account\n3. Create a new Bing Search resource\n4. Go to the resource and find your API key in the \"Keys and Endpoint\" section\n\n## License\n\n[MIT License](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleehanchung%2Fbing-search-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleehanchung%2Fbing-search-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleehanchung%2Fbing-search-mcp/lists"}