Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Bing search results with the ad block and Copilot answer, geo and market targeting, as JSON.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
HASDATA_API_KEY, x-api-key标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"bing": {
"command": "npx",
"args": [
"-y",
"@hasdata/bing-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http bing 'https://mcp.hasdata.com/mcp?apis=bing' --header 'x-api-key: your-value'claude mcp add bing --env HASDATA_API_KEY=your-value -- npx -y @hasdata/bing-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bing": {
"url": "https://mcp.hasdata.com/mcp?apis=bing",
"headers": {
"x-api-key": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"bing": {
"command": "npx",
"args": [
"-y",
"@hasdata/bing-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bing": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=bing",
"headers": {
"x-api-key": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"bing": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/bing-mcp"
],
"env": {
"HASDATA_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
x-api-key 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 hasdata.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:HASDATA_API_KEY, x-api-key
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(1.0.3)于43天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A hosted Bing MCP server that gives Claude, Cursor, Windsurf and any other MCP client one read-only Bing tool. Run a Bing search from a chosen country, market, language and device, and get the organic results, the ad block and the Copilot answer as structured JSON, with no Azure subscription and nothing to host.
It reads the Bing results page a signed-out visitor sees.
1,000 free credits every month, no card required, which is 100 Bing calls at the 10-credit rate.
https://mcp.hasdata.com/mcp?apis=bing
An MCP client and a HasData API key from the dashboard, free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an x-api-key header, with no container to run. A client that only speaks stdio reaches it through a thin launcher, published as @hasdata/bing-mcp on npm and hasdata-bing-mcp on PyPI, shown below.
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
|---|---|
| URL | https://mcp.hasdata.com/mcp?apis=bing |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
claude mcp add --transport http bing "https://mcp.hasdata.com/mcp?apis=bing" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=bing and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/bing-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
{
"mcpServers": { "bing": { "command": "npx", "args": ["-y", "@hasdata/bing-mcp"], "env": { "HASDATA_API_KEY": "YOUR_KEY" } } } }
For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:
{
"mcpServers": { "bing": { "command": "uvx", "args": ["hasdata-bing-mcp"], "env": { "HASDATA_API_KEY": "YOUR_KEY" } } } }
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
{
"mcpServers": { "bing": { "url": "https://mcp.hasdata.com/mcp?apis=bing", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
{
"mcpServers": { "bing": { "serverUrl": "https://mcp.hasdata.com/mcp?apis=bing", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
VS Code
.vscode/mcp.json in the workspace:
{
"servers": { "bing": { "type": "http", "url": "https://mcp.hasdata.com/mcp?apis=bing", "headers": { "x-api-key": "HASDATA_API_KEY" } } } }
One call answers each of these. Paging to the second and third page of results takes one more call each.
| Tool | What it returns |
|---|---|
hasdata_bing_serp_getSearchResults | Organic results (title, url, snippet, displayed url, position), related searches, answer boxes/knowledge panels, and pagination metadata. 10 credits a call |
One tool, 10 credits per successful call.
hasdata_bing_serp_getSearchResults
One Bing results page.
| Parameter | Type | Required | Notes |
|---|---|---|---|
q | string | yes | The search term |
location | string | Free-text origin, such as Austin, Texas. Resolved to coordinates | |
lat / lon | string | GPS origin. Takes precedence over location | |
mkt | string | Market, one of 38, such as en-gb or de-de | |
cc | string | Country, one of 36, such as gb or de | |
setLang | string | Interface and preferred result language, one of 39 | |
safeSearch | string | off, moderate or strict | |
deviceType | string | desktop, mobile or tablet | |
filters | string | A Bing filter string, such as ex1:"ez2" for the past week | |
first | number | Result offset, 1 for the first page, 11 for the second |
Returns organicResults always, plus ads and copilotSearch when the page carries them.
An organic result has position, title, link, displayedLink, source and snippet.
{
"position": 1, "title": "10 Best CRM Software Of 2026 – Forbes Advisor", "link": "https://www.forbes.com/advisor/business/software/best-crm-software/", "displayedLink": "https://www.forbes.com › advisor › business › software › best-crm-software", "source": "Forbes", "snippet": "Compare top CRM options to find the best fit for your needs and budget, and explore features, pricing and support using the links below." }
ads appears on commercial queries and carries position, blockPosition, title, link, source, displayedLink, description and sitelinks. Six ads came back for best crm software and none for weather.
copilotSearch appears when Bing puts its AI answer on the page. It holds textBlocks, a sequence of typed blocks where a heading carries a snippet and a list carries an array of them, and references, the pages the answer cites.
{
"textBlocks": [ { "type": "heading", "snippet": "Top CRM software in 2026 includes Agentforce Sales, HubSpot Sales Hub, Pipedrive, Zoho CRM, and ActiveCampaign, each excelling in sales automation, pipeline management, and customer engagement." }, { "type": "heading", "snippet": "Top CRM Options" }, { "type": "list", "list": [{ "snippet": "Agentforce Sales (formerly Salesforce Sales Cloud) – Best for highly customizable..." }] } ], "references": [] }
The server exposes 5 resources, one per parameter whose accepted values are a fixed list. Reading one is cheaper than learning the vocabulary from a rejected call, and it costs no credits. Each URI is hasdata://bing/ .
| Parameter | Values | What it selects |
|---|---|---|
mkt | 38 | The two-letter country code for the country to search from. |
cc | 36 | The two-letter country code for the country to search from. |
setLang | 39 | The language of the user interface and preferred result language. Accepts a two-letter language code (e.g. en, de) or a locale/script variant (e.g. en-gb, zh-hans, pt-br). |
safeSearch | 3 | Adult Content Filtering option. |
deviceType | 3 | Specify the device type for the search. |
The list is served without an API key, so a client can read it before a user has signed up.
Plan for these rather than assuming a happy path.
The result count is not ten and does not hold still. The same query returned 6 organic results on one call and 14 on another, because Bing decides how much of the page to give to ads and to Copilot. Read the array length rather than assuming a page size, and do not compute a rank position by multiplying page number by ten.
`ads` and `copilotSearch` are absent rather than empty when the page has neither. Test for the key before you read it. A query like weather came back with organic results alone.
An ad `link` is a Bing click tracker, not the advertiser's URL. It points at bing.com/aclk with the destination encoded inside. Read displayedLink for the domain that was advertising, and treat the tracker as a click-through rather than as a page address.
`lat` and `lon` override `location`. Sending all three silently ignores the free text. Send one or the other.
`mkt`, `cc` and `setLang` are three separate axes. The market decides which Bing index answers, the country code decides the origin, and the language decides the interface and the preferred result language. Setting only one moves the results less than you expect.
`filters` is a raw Bing filter string. The date options are documented, ex1:"ez1" for the past day through ex1:"ez3" for the past month. For anything else, run the search in a browser and copy the parameter out of the Bing URL, because the values are Bing's rather than ours.
Paging is by offset, and pages overlap a little. first: 11 is the second page. Consecutive pages shared one result out of six in our checks, which is Bing being Bing rather than a fault. Deduplicate by link when you merge pages.
Results that carry data also carry a requestMetadata.id worth quoting in support.
The Bing tool costs 10 credits per successful call. Response size does not change the price.
The free tier is 1,000 credits every month with no card, which is 100 Bing calls at the base rate. It renews with the billing cycle, so a low-volume agent runs on the free tier indefinitely.
Paid plans start at $59 a month for 200,000 credits, which is 20,000 calls. The unit price falls with volume, from $2.95 per 1,000 calls on the entry plan to $1.19 on Basic and $0.83 across the Growth tiers. Current figures live on the pricing page.
Your p
只显示了开头部分;其余内容请在仓库中阅读