Altmetric MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Altmetric MCP Servercheck Altmetric score for DOI 10.1038/nature12373"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Altmetric MCP Server
Model Context Protocol (MCP) server that enables AI agents to access Altmetric APIs for tracking the attention and reach of research outputs across news outlets, policy documents, social media, and other online platforms.
Altmetric monitors where research is being discussed beyond traditional academic citations - from mainstream media coverage to policy citations, patent references, and social media engagement - providing a comprehensive view of real-world research impact.
Prerequisites
Node.js >= 20.6.0 - Download from nodejs.org (LTS recommended)
Altmetric API credentials (at least one):
Details Page API key - Free tier or commercial access
Explorer API key + secret - Institutional access
Don't have keys yet? Request API access
Related MCP server: Zocialeye MCP Server
Quick Install (Claude Desktop on macOS)
Run the guided installer in Terminal - it checks Node.js, prompts for your API keys, and configures Claude Desktop automatically:
bash <(curl -fsSL https://raw.githubusercontent.com/altmetric/altmetric-mcp/main/install.sh)Or if you've cloned the repo:
bash install.shPrefer to set things up manually? See Claude Desktop below.
Installation
Configure your MCP client to run the Altmetric MCP server using npx. Include only the API credentials you have access to.
{
"type": "stdio",
"command": "npx",
"args": ["-y", "altmetric-mcp"],
"env": {
"ALTMETRIC_DETAILS_API_KEY": "your_details_api_key_here",
"ALTMETRIC_EXPLORER_API_KEY": "your_explorer_api_key_here",
"ALTMETRIC_EXPLORER_API_SECRET": "your_explorer_api_secret_here"
}
}Below are specific instructions for popular AI tools and editors.
Claude Desktop
Open the configuration file at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
On macOS you can open it from Terminal:
mkdir -p ~/Library/Application\ Support/Claude && open -a TextEdit ~/Library/Application\ Support/Claude/claude_desktop_config.jsonAdd the Altmetric MCP server. If the file is empty, paste this (replacing the placeholder keys with your own, and removing any you don't have):
{ "mcpServers": { "Altmetric": { "type": "stdio", "command": "npx", "args": ["-y", "altmetric-mcp"], "env": { "ALTMETRIC_DETAILS_API_KEY": "your_details_api_key_here", "ALTMETRIC_EXPLORER_API_KEY": "your_explorer_api_key_here", "ALTMETRIC_EXPLORER_API_SECRET": "your_explorer_api_secret_here" } } } }If the file already has content, add
"Altmetric": { ... }inside the existing"mcpServers"block, separated by a comma from the other entries.Save the file and restart Claude Desktop (Cmd+Q then reopen).
Verify by asking Claude: "Use the Altmetric tools to look up the attention score for DOI 10.1038/nature12373"
Install directly from the command line:
claude mcp add --transport stdio altmetric-mcp \
--env ALTMETRIC_DETAILS_API_KEY=your_details_api_key_here \
--env ALTMETRIC_EXPLORER_API_KEY=your_explorer_api_key_here \
--env ALTMETRIC_EXPLORER_API_SECRET=your_explorer_api_secret_here \
-- npx -y altmetric-mcpAdd to your project .vscode/mcp.json:
{
"servers": {
"Altmetric": {
"type": "stdio",
"command": "npx",
"args": ["-y", "altmetric-mcp"],
"env": {
"ALTMETRIC_DETAILS_API_KEY": "your_details_api_key_here",
"ALTMETRIC_EXPLORER_API_KEY": "your_explorer_api_key_here",
"ALTMETRIC_EXPLORER_API_SECRET": "your_explorer_api_secret_here"
}
}
}
}Reload VS Code to apply the changes. More information.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"Altmetric": {
"type": "stdio",
"command": "npx",
"args": ["-y", "altmetric-mcp"],
"env": {
"ALTMETRIC_DETAILS_API_KEY": "your_details_api_key_here",
"ALTMETRIC_EXPLORER_API_KEY": "your_explorer_api_key_here",
"ALTMETRIC_EXPLORER_API_SECRET": "your_explorer_api_secret_here"
}
}
}
}Any MCP-compatible client that supports stdio transport can use this server. Use the generic configuration at the top of this section, adapting it to your client's config format. The command is always npx with args ["-y", "altmetric-mcp"] plus the environment variables for your API keys.
Deploying safely
This server runs as a child process of the MCP host (Claude Desktop, Claude Code, etc.). A few things are worth knowing before you wire it into a sensitive workflow.
What the server does
Read-only proxy to two Altmetric HTTP APIs over outbound HTTPS. The one exception is an idempotent
POSTto the Explorer identifier_lists endpoint (create-or-find), used internally to scope an Explorer query to a supplied set of identifiers; it creates no user-visible state and is not destructive.No inbound network surface; no destructive operations.
Treats upstream text as untrusted: scans for prompt-injection markers, redacts suspicious matches in the LLM-facing summary, and surfaces raw values only via
structuredContent.
What you should do
Set API keys via your MCP host's
envblock, not via a committed.envfile. Keys appear in URL query strings; treat them as bearer-equivalent credentials.Run with reduced privileges if your host allows it. The server only needs outbound HTTPS to
api.altmetric.comandwww.altmetric.com. If your host or container runtime supports it, deny filesystem writes outside$TMPDIRand deny other network egress.Consider an egress allowlist (forward proxy / DLP). If you're using the server inside an environment that processes sensitive data, route outbound traffic through a proxy that only allows the two Altmetric hosts. The server doesn't need to talk to anyone else.
Respect your data-classification zone. This server forwards tool arguments verbatim to a third party. If your prompt contains restricted or regulated data, it leaves your boundary.
What's enforced for you
Outbound URLs are asserted to use
https:.Upstream responses are capped at 20 MB and 60 s.
Inbound tool arguments are capped at 8 MB total / 64 KB per string.
Filter values are validated client-side (date format, length, pagination ranges) before any upstream call.
Upstream error bodies are logged to stderr by SHA-256 prefix only, not verbatim.
For vulnerability reports and supported versions see SECURITY.md.
Troubleshooting
Problem | Solution |
| Node.js is not installed. Download it here (version 20.6.0 or later). |
Claude Desktop won't start after editing config | The JSON file has a syntax error. Check for missing commas, unmatched brackets, or trailing commas. Paste it into jsonlint.com to validate. |
"MCP server failed to start" | Run |
Tools appear but return 403 errors | You're using a free-tier key with a commercial-tier tool ( |
First query is slow | Normal. |
Explorer tools fail | Explorer tools need both |
API Tiers
Details Page API
Free Tier: Access to
get_citation_countsandsearch_citationsCommercial Tier: Access to all Details Page tools including
get_citation_details
If you attempt to use get_citation_details with a free API key, you'll receive a 403 error.
Explorer API
Institutional Access Only: All Explorer API tools require institutional credentials
Provides access to research outputs and attention data across the entire Altmetric database
Organizations with data integrations can also access their own institutional research outputs in isolation
Includes advanced filtering by author, department, journal, and custom organizational metadata
Tools
This server provides eleven tools across two APIs:
Tool | API | Tier | Description |
| Details Page | Free | Attention metrics by identifier (DOI, PubMed ID, etc.) |
| Details Page | Commercial | Full mention text, author details (incl. Dimensions Researcher IDs), metadata |
| Details Page | Free | Search attention data across all outputs by timeframe |
| Details Page | Commercial | Attention metrics for many DOIs at once, ranked |
| Details Page | Commercial | Translate identifiers (DOI, PMID, etc.) to Altmetric IDs |
| Explorer | Institutional | Search and filter research outputs |
| Explorer | Institutional | Aggregated attention metrics by source and date |
| Explorer | Institutional | Individual mention details with filtering |
| Explorer | Institutional | Audience geographic and demographic data |
| Explorer | Institutional | Source/outlet analysis for mentions |
| Explorer | Institutional | Journal metrics, rankings, and search |
All Explorer tools additionally accept researcher_id and grant_id filters (Dimensions IDs), and an identifiers parameter that scopes a query to a raw list of scholarly identifiers - the server builds the corresponding identifier list for you. Explorer responses also include sentiment data (sentiment-analysis-totals on research outputs, sentiment-analysis on X/Bluesky mentions).
For detailed parameters and examples, see TOOLS.md.
API Documentation
Details Page API: https://docs.altmetric.com/details-page-api/
Explorer API: https://docs.altmetric.com/explorer-api/
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/altmetric/altmetric-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server