Skip to main content
Glama

get_citeas_data

Retrieve BibTeX-formatted citations for resources like DOIs, URLs, or keywords directly from CiteAs. Simplify your research workflow by automating citation retrieval.

Instructions

Retrieve BibTeX-formatted citation for the specified resource (e.g., DOI, URL, keyword) from the CiteAs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resourceYes

Implementation Reference

  • The handler function for the 'get_citeas_data' tool. It is decorated with @mcp.tool() which registers it with the MCP server. Fetches BibTeX citation data from the CiteAs API for a given resource (e.g., DOI). Includes inline schema via type hints and docstring.
    @mcp.tool() def get_citeas_data(resource: str) -> str: """Retrieve BibTeX-formatted citation for the specified `resource` (e.g., DOI, URL, keyword) from the CiteAs""" response = httpx.get(f"https://api.citeas.org/product/{resource}?email=default@example.com") response.raise_for_status() data = response.json() return next((export["export"] for export in data["exports"] if export["export_name"] == "bibtex"), None)

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