
HasData Google Scholar
com.hasdata由 hasdata.com 发布官方发布者v1.0.2更新于 Oct 24, 2026
Google Scholar search results, citation counts and citation export formats, as structured JSON.
发布方自己的服务:HasData Airbnb
概览
托管式 Google Scholar MCP 服务器,让助手以 JSON 形式检索学术文献、追踪引用关系并获取格式化引用。
- 可以做什么
- 用检索运算符、年份范围、语言与类型筛选以及分页检索 Scholar 结果
- 复用检索结果中的 id,查找引用某篇论文的文献或同一论文的所有收录版本
- 获取 MLA、APA、Chicago、Harvard、Vancouver 格式的引用,以及 BibTeX、EndNote、RefMan、RefWorks 导出链接
- 获取单篇法院判决书,含法院、判例汇编引用、案卷号、日期及其引用的案件
- 以资源形式读取语言、检索类型和安全搜索参数的固定取值列表
- 适用场景
- 当问题专门针对 Google Scholar 所显示的内容时适用,例如 Scholar 自身的被引次数、其格式化引用字符串,或其对学位论文与预印本的收录。若需要用于文献计量的结构化、稳定元数据,宜改用开放的文献 API。
- 运行要求
- 需要一个 HasData API 密钥:远程端点通过 x-api-key 请求头传递,npm 或 PyPI 的 stdio 启动器通过 HASDATA_API_KEY 环境变量传递。需要能访问托管端点的网络。无需 Google 账号。
安装
在 SourceWeft 中
- 打开 控制台中的 HasData Google Scholar,将其添加到工作区。
- 连接 x-api-key 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.hasdata%2Fgoogle-scholar/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"hasdata-google-scholar": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=google_scholar",
"headers": {
"x-api-key": "<YOUR_API_KEY>"
}
}
}
}README
Google Scholar MCP Server
A hosted Google Scholar MCP server that gives Claude, Cursor, Windsurf and any other MCP client two read-only Google Scholar tools. Search the literature with Scholar's own operators, year ranges and cited-by lookups, then pull a paper's citation in five styles with its BibTeX and EndNote export links, both as structured JSON, with nothing to host.
It reads public Google Scholar pages that a signed-out visitor can see.
1,000 free credits every month, no card required, which is 100 Scholar calls at the 10-credit rate.
[Glama score] [tool contract] [MCP] [Tools]
Contents
- What you need
- Quick start
- Example prompts
- Tools
- Errors and failure paths
- Pricing, free tier and limits
- Tool selection
- How it compares
- FAQ
- HasData links
- Development
- Contributing
- License
What you need
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/google-scholar-mcp on npm and hasdata-google-scholar-mcp on PyPI, shown below.
Quick start
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.
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 Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=google_scholar 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/google-scholar-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
For Python instead of Node, swap the launcher for the PyPI package, which uvx runs without a manual install:
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
VS Code
.vscode/mcp.json in the workspace:
Example prompts
Each of these lands on one tool, or on two in sequence when the second needs an id the first returns.
- Find papers on transformer architectures published since 2023 and sort them by citation count.
- Who has cited this paper, and how has that grown year on year?
- Give me the BibTeX for this paper.
- Find review articles only on this topic, excluding citations without full records.
- Show me every indexed version of this paper and which of them have a PDF.
- Find recent work by this author on this topic.
A prompt naming a paper takes two calls, one search to reach its resultId and one citation lookup. A prompt about who cites a paper also takes two, because the second call reuses citedBy.citesId from the first.
Tools
Three tools, 10 credits per successful call.
Get Scholar search results
hasdata_google_scholar_scholar_getScholarSearchResults
A page of Scholar results.
Returns searchInformation with totalResults, queryDisplayed and the time Scholar reported, an organicResults array, and pagination.
Each result carries position, resultId, title, link, snippet, a publicationInfo object, a resources array, citedBy, versions, relatedPagesLink and citeHasdataLink.
publicationInfo.authors is the part worth knowing about. Alongside the raw summary line it lists the authors Scholar has profiles for, each with a name, a profile link and an authorId, which is how you follow one author rather than parsing a byline.
citedBy and versions are the two ids that make this tool compose with itself. citedBy.citesId goes back into cites to walk a citation graph, and versions.clusterId goes into cluster to see every indexed copy of the same paper.
Get Scholar citation formats
hasdata_google_scholar_cite_getScholarCitationFormats
The citation block for one paper.
Returns citations, the formatted string in MLA, APA, Chicago, Harvard and Vancouver, and links, the export URLs for BibTeX, EndNote, RefMan and RefWorks.
Get a case law opinion
hasdata_google_scholar_case_law_getScholarCaseLawOpinion
One court opinion, with the cases it cites.
The id comes from the search tool rather than from a URL. Set asSdt to a case-law court scope, for example 4, and every organic result then carries caseId beside caseHasdataLink.
Returns caseResults with title, name, courtName, cert, and the firstPage and lastPage of the printed opinion. dates holds the argued and decided dates as separate entries, shortCitations the reporter citation, and caseNumbers the docket numbers. citedCases lists every opinion this one cites, each with its own caseId, so a citation graph is a second call rather than a parsing job.
Prompts and resources
The server exposes 4 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://google_scholar/<parameter>.
The list is served without an API key, so a client can read it before a user has signed up.
Errors and failure paths
Plan for these rather than assuming a happy path.
On the citation tool, q is a paper id rather than a query. It takes the resultId from a search result, such as A7L9JolPKkoJ. Passing a title or a DOI there returns nothing useful, and the shared parameter name is the reason people get this wrong.
citesId and clusterId can hold the same value, and they are not interchangeable. They were identical on the paper above. One goes into cites to find papers citing this one, the other into cluster to find copies of this one. Sending the right number to the wrong parameter returns a plausible page of the wrong thing.
type arrives on some results and not others. It was present on one result in five, describing the format of the primary resource. Read resources[].fileFormat when you need to know whether a PDF exists.
A BibTeX link is a Scholar URL with a signature in it, not the BibTeX itself. The links array gives you addresses to fetch, and those carry expiring scisig tokens, so fetch them promptly rather than storing them for later.
totalResults is Scholar's estimate and it is very rough. The query above reported 2,080,000. Treat it as an order of magnitude, never as a count.
Scholar counts citations, not quality, and it indexes preprints, theses and citing-only records. asVis: 1 drops citation-only entries when you need records with full metadata.
Paging deep gets thin. Scholar limits how far a result set goes and starts repeating or blocking well before the estimate suggests, so narrow with asYlo, asYhi or asSdt rather than walking start upward.
Results that carry data also carry a requestMetadata.id worth quoting in support.
Pricing, free tier and limits
Each Scholar tool costs 10 credits per successful call. Response size does not change the price, so raising num is the cheap way to widen a search.
The free tier is 1,000 credits every month with no card, which is 100 Scholar 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 plan also sets concurrency. The free tier allows 5 requests at a time, Startup 5, Basic 15, and the Growth tiers run from 50 to 500. Retry on the 429 with a backoff in anything unattended, because an agent that walks a citation graph will reach the ceiling before you do.
A request that comes back non-200 is not billed. A successful call that finds nothing is still a call.
Tool selection
Start from what the prompt gives you. A topic, an author or a year range goes to the search tool. A resultId you already hold goes straight to the citation tool.
Then think about which id the next step needs. A literature sweep is one search call with a large num. A citation graph is a search call followed by one cites call per paper you follow. A deduplication pass across preprints and published versions is a cluster call per paper. Each of those reuses an id the first response already gave you, so a second search call is usually wasted.
Raise num before you page. Cost is per call rather than per result, so one wide page beats three narrow ones.
How it compares
Google Scholar has no public API, so the comparison worth making is against the open bibliographic APIs.
The row that decides it is whose citation count you need. For bibliometrics on typed, stable metadata, OpenAlex and Semantic Scholar are better instruments and they are free. Reach for this one when the question is specifically about what Google Scholar shows, which is what most researchers actually look at, or when you want the formatted citation rather than the fields to build one.
FAQ
Is there an official Google Scholar MCP server?
Google does not publish one, and Scholar has no public API either. This one is maintained by HasData and reads public Scholar pages.
What is a Google Scholar MCP server?
An MCP server exposes tools an AI client can call. This one turns Scholar search results and citation blocks into JSON an agent can reason over, without a browser or a scraping library in your stack.
Do I need a Google account?
No. The only credential is your HasData key.
How do I get the BibTeX for a paper?
Two calls. Search to get the paper's resultId, then pass that id as q to the citation tool, and take the BibTeX URL from links.
How do I find everything that cites a paper?
Take citedBy.citesId from the search result and send it back as the cites parameter. The response is the citing papers, paged like any other search.
What is the difference between cites and cluster?
cites finds papers that cite the one you named. cluster finds other indexed versions of that same paper, such as a preprint next to the published article. The two ids often look identical, so pick by what you want rather than by the number.
Can I search by author?
Yes, with Scholar's own operator, as author:"J Dean" in q. Search results also carry authorId for authors with a Scholar profile, which is the stabler handle.
Can I use this together with other HasData APIs?
Yes. One key covers everything, and one endpoint serves them all through the apis parameter. Point a client at ?apis=google_scholar,google_serp to get both tool sets in one connection, or at mcp.hasdata.com/mcp for the full catalogue.
Is HasData affiliated with Google?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Google. Google Scholar is a trademark of its respective owner. The tools work with publicly available data only, and you are responsible for using the results in line with Google's terms and the law that applies to you.
Compliance and personal data
Author names, affiliations and Scholar profile ids are personal data, even though they are published as part of the scholarly record. Building a profile of one researcher's output is a different act from counting citations on a topic, and it is the one that needs a second thought about purpose and retention. The papers themselves stay under their own licences, so a link is not permission to redistribute a PDF.
HasData links
- Google Scholar API documentation, the REST endpoints behind these tools
- Citation formats endpoint
- MCP server documentation
- Pricing
- Dashboard
Other HasData MCP servers: Google Search, Google Images, Google Maps, Google Trends, Bing, DuckDuckGo, YouTube, TikTok, Instagram, Amazon, Walmart, Shopify, Yelp, Yellow Pages, Zillow, Redfin, Airbnb, Booking.com, Indeed, Glassdoor.
Development
The launcher is a thin stdio bridge to the remote server, so there is nothing to build.
The tests in test/ assert the tool contract, the part that can break without a commit here. They check that ?apis=google_scholar returns the three expected tools, that no name changed, that each still requires its own id and carries a description, that the search parameters this README documents are still in the schema, and that the key in use is actually accepted.
Two tests go further. One asserts that a live search still returns resultId, citedBy.citesId and versions.clusterId, because those three ids are what let the tools compose and nothing else in the response would reveal their loss. The other feeds a resultId straight into the citation tool, which is the two-call workflow this README documents, and checks the five styles come back. Together they cost 20 credits a run, which is the price of a canary that can fail for the right reason.
The contract suite also runs weekly on a schedule, because the upstream tool list can change without anyone touching this repository.
Contributing
A tool table, a response sample or a documented behaviour that does not match reality is worth an issue. There is a template for exactly that. Pull requests are welcome for the same, and for anything in the launcher.
License
MIT, see LICENSE.
来源:README.md,提交 d7c99f6
工具
0版本历史
3- v1.0.2最新Sep 24, 2026
- v1.0.1Sep 22, 2026
- v1.0.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Hasdata 集成

HasData Airbnb
com.hasdata官方发布者
HasData 托管的 Airbnb MCP 服务器,提供两个只读工具,让助手按地点或地图区域搜索房源,并以 JSON 读取房源详情。

HasData Google Flights Deals
com.hasdata官方发布者
HasData 托管服务器,提供一个 Google Flights Deals 工具,把自然语言描述的旅行想法变成带日期的票价、航司、经停和预订链接。

HasData ChatGPT
com.hasdata官方发布者
HasData 托管服务器,让助手匿名向 ChatGPT 提问,并返回 Markdown 答案及其参考的网页来源。

HasData Google Hotels
com.hasdata官方发布者
HasData 托管服务器,提供一个 Google Hotels 工具,让助手搜索酒店和度假短租,并查看某房源在各预订网站的价格。

HasData Zillow
com.hasdata官方发布者
HasData 提供的托管服务,让助手以结构化 JSON 搜索 Zillow 在售、出租和已售房源,并读取完整房产详情。