npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

mcp-openalex

v1.0.1

Published

MCP server for accessing scholarly articles and research data from the OpenAlex database

Downloads

17

Readme

MCP OpenAlex

npm version License: CC BY-NC-SA 4.0

An MCP (Model Context Protocol) server that provides access to the OpenAlex API for scholarly publications and research data.

Features

  • 🔍 Search scholarly works, authors, institutions, and sources
  • 📚 Access detailed metadata for academic publications
  • 👥 Explore author profiles and publication histories
  • 🏛️ Browse institutional research outputs
  • 📰 Discover academic journals and sources
  • 🔓 No API key required (optional polite pool access with email)
  • 🚀 Built with TypeScript for type safety

Available Tools

Works (Publications)

  • search_works: Search for scholarly publications with filters
  • get_work: Get detailed information about a specific work

Authors

  • search_authors: Search for researchers and authors
  • get_author: Get detailed author profiles including metrics and affiliations

Institutions

  • search_institutions: Search for universities and research organizations

Sources (Journals)

  • search_sources: Search for journals, conferences, and repositories

Installation

Using npx (recommended)

npx mcp-openalex

Global Installation

npm install -g mcp-openalex

Local Development

git clone https://github.com/Mearman/mcp-openalex.git
cd mcp-openalex
yarn install
yarn build

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "openalex": {
      "command": "npx",
      "args": ["mcp-openalex"],
      "env": {}
    }
  }
}

For local development:

{
  "mcpServers": {
    "openalex": {
      "command": "node",
      "args": ["/path/to/mcp-openalex/dist/index.js"],
      "env": {}
    }
  }
}

Usage Examples

Search for Works

search_works
- search: "machine learning"
- filter: "publication_year:2023"
- sort: "cited_by_count:desc"
- per_page: 10

Get Work Details

get_work
- id: "W2741809807"

Search for Authors

search_authors
- search: "Geoffrey Hinton"
- filter: "works_count:>100"

Get Author Profile

get_author
- id: "A2698986125"

Search Institutions

search_institutions
- search: "MIT"
- filter: "country_code:US"

Search Sources

search_sources
- search: "Nature"
- filter: "is_oa:true"

Tool Parameters

Common Parameters

  • mailto: (optional) Email address for polite pool access and higher rate limits
  • page: Page number for pagination (default: 1)
  • per_page: Results per page, max 200 (default: 25)

Search Parameters

  • search: Free-text search query
  • filter: OpenAlex filter expressions (e.g., "publication_year:2023")
  • sort: Sort field and direction (e.g., "cited_by_count:desc")

Rate Limits

  • Standard: 100,000 requests per day, 10 requests per second
  • Polite pool (with email): Higher limits available
  • Returns HTTP 429 when rate limited

OpenAlex API

This MCP server interfaces with the OpenAlex API, a free and open database of scholarly metadata. No authentication is required, but providing an email address enables "polite pool" access with better rate limits.

Development

# Install dependencies
yarn install

# Run in development mode
yarn dev

# Build for production
yarn build

# Run tests
yarn test

# Lint and format
yarn lint
yarn format

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

CC BY-NC-SA 4.0 © Joseph Mearman

Acknowledgments

Built using the MCP TypeScript SDK and powered by OpenAlex.