Skip to main content
Glama

get_scholar_data

Retrieve BibTeX-formatted citations from Google Scholar by querying publications. Simplify citation management and integrate directly into applications for enhanced research workflows.

Instructions

Retrieve results BibTeX-formatted citations for publications matching the query from the Google Scholar

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
resultsNo

Implementation Reference

  • The handler function for the 'get_scholar_data' tool. It is registered via the @mcp.tool() decorator and implements the logic to search Google Scholar publications using the 'scholarly' library and return BibTeX formatted citations.
    @mcp.tool() def get_scholar_data(query: str, results: int = 2) -> str: """Retrieve `results` BibTeX-formatted citations for publications matching the `query` from the Google Scholar""" pubs = scholarly.search_pubs(query) return "\n".join(scholarly.bibtex(pub) for pub in itertools.islice(pubs, results))
Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ndchikin/reference-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server