How to connect OpenAlex to Claude
- Open OpenAlex in Claude and sign in to OpenAlex. The consent screen identifies the account or organization under which queries will run.
- For Claude Code, use the documented command and authenticate through /mcp. Ask for the metadata of one article with a known DOI to test the connection.
claude mcp add --transport http openalex https://mcp.openalex.org/mcpCapture a reproducible literature-search query
Ask for OpenAlex works about heat islands and urban tree canopy between 2019 and 2024. Set an open-access filter and request an initial count, five sample records with DOIs, and the exact OpenAlex Query Language search and rerun link.
Open the rerun link and compare the filters and records. Save the query and search date with your notes so collaborators can distinguish updated index results from changes in search terms.
Keep identifiers alongside search output
Ask for OpenAlex IDs and DOIs where available. A paper and a later version may have similar titles, so keep the published date and source alongside each entry to make deduplication visible during review.
When search budget or authentication interrupts a review
OpenAlex documents that searches use your account or organization’s usage budget. A rotated OpenAlex API key can require reconnecting. Use the usage dashboard to confirm which budget and reset apply before rerunning a wide search.