MCP server for Altmetric APIs - retrieve citation metrics and research output data for AI agents
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
claude mcp add altmetric-mcp -- npx -y altmetric-mcp{
"mcpServers": {
"altmetric-mcp": {
"command": "npx",
"args": ["-y", "altmetric-mcp"],
"env": {
"ALTMETRIC_DETAILS_API_KEY": "<altmetric_details_api_key>",
"ALTMETRIC_EXPLORER_API_KEY": "<altmetric_explorer_api_key>",
"ALTMETRIC_EXPLORER_API_SECRET": "<altmetric_explorer_api_secret>"
}
}
}
}ALTMETRIC_DETAILS_API_KEYALTMETRIC_EXPLORER_API_KEYALTMETRIC_EXPLORER_API_SECRETResumen de MCP Servers
# 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.
There are two ways to connect:
- **Hosted server (recommended)** - point your AI client at `https://mcp.altmetric.com/mcp` and sign in with your Altmetric account. No API keys to copy or store, and you automatically get the tools for whatever you have access to (Explorer, Detail Pages, or both). Start here.
- **Run locally** - run the server on your own machine with your own API keys, over stdio. For offline use or when you'd rather manage keys directly. See *Run locally with your own API keys* below.
## Connect to the hosted server (recommended)
The easiest way to use Altmetric in your AI client is the hosted server at `https://mcp.altmetric.com/mcp`. Point your client at that URL and sign in with your Altmetric account when prompted - the client runs a standard OAuth flow in your browser, so there are no API keys to copy or store. You get exactly the tools your account has access to.
### Claude Desktop
1. Open **Settings → Customize → Connectors** and click **Add custom connector**.
2. Name it `Altmetric` and enter the URL `https://mcp.altmetric.com/mcp`.
3. Click **Add**, then **Connect**, and sign in when the browser window opens.
Verify by asking Claude: *"Use the Altmetric tools to look up the attention score for DOI 10.1038/nature12373"*
### Claude Code
```bash
claude mcp add --transport http altmetric https://mcp.altmetric.com/mcp
```
Then run `/mcp` inside Claude Code, select **altmetric**, and authenticate - a browser window opens for sign-in.
### Cursor
Add to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (per project):
```json
{
"mcpServers": {
"Altmetric": {
"url": "https://mcp.altmetric.com/mcp"
}
}
}
```
Cursor runs a browser sign-in the first time the server is used.
### VS Code (GitHub Copilot)
Add to `.vscode/mcp.json` (VS Code 1.101 or later):
```json
{
"servers": {
"Altmetric": {
"type": "http",
"url": "https://mcp.altmetric.com/mcp"
}
}
}
```
Open the Command Palette, run **MCP: List Servers**, select **Altmetric**, and start it; sign in when prompted.
### ChatGPT
Open **Settings → Connectors → Advanced** and turn on **Developer mode**, then **Settings → Connectors → Add custom connector**, enter `https://mcp.altmetric.com/mcp`, and complete the OAuth sign-in. Requires a paid plan (Plus, Pro, Business, Enterprise, or Edu); custom connectors aren't available on the free tier. All Altmetric tools are read-only, so the read-only restriction on Plus/Pro plans doesn't limit them.
### Other MCP clients
Any client that supports the **Streamable HTTP** transport with OAuth can connect. Point it at `https://mcp.altmetric.com/mcp`. On the first request the server returns `401` with a `WWW-Authenticate` header pointing at its discovery document (`/.well-known/oauth-protected-resource`), which the client uses to run the OAuth flow against Altmetric Explorer automatically.
### How sign-in works
The hosted server is an OAuth 2.1 **resource server**. Your client obtains a bearer token from Altmetric Explorer (the authorization server) for the `mcp` scope. The server exchanges that token for your account's entitlements and calls the Altmetric APIs on your behalf - your bearer token is **never** forwarded to those APIs. The advertised toolset reflects your entitlements, so you only ever see the tools for the products you can use.
## Run locally with your own API keys
Prefer to run the server yourself - offline, or managing API keys directly? Run it over stdio with `npx`.
### Prerequisites
- **Node.js 20.6.0 or later** - an actively-supported [LTS release](https://nodejs.org/en/about/previous-releases) is recommended ([download](https://nodejs.org/))
- **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](https://www.altmetric.com/solutions/altmetric-api/)
### 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
bash <(curl -fsSL https://raw.githubusercontent.com/altmetric/altmetric-mcp/main/install.sh)
```
Or if you've cloned the repo:
```bash
bash install.sh
```
Prefer to set things up manually? See the per-client instructions below.
### Manual configuration
Configure your MCP client to run the server using `npx`. Include only the API credentials you have access to.
```json
{
"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"
}
}
```
<details>
<summary><strong>Claude Desktop</strong></summary>
1. Open the configuration file at:
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
On macOS you can open it from Terminal:
```bash
mkdir -p ~/Library/Application\ Support/Claude && open -a TextEdit ~/Library/Application\ Support/Claude/claude_desktop_config.json
```
2. Add 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):
```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"
}
}
}
}
```
If the file already has content, add `"Altmetric": { ... }` inside the existing `"mcpServers"` block, separated by a comma from the other entries.
3. Save the file and **restart Claude Desktop** (Cmd+Q then reopen).
4. Verify by asking Claude: *"Use the Altmetric tools to look up the attention score for DOI 10.1038/nature12373"*
</details>
<details>
<summary><strong>Claude Code</strong></summary>
Install directly from the command line:
```bash
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-mcp
```
</details>
<details>
<summary><strong>VS Code (GitHub Copilot)</strong></summary>
Add to your project `.vscode/mcp.json`:
```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](https://code.visualstudio.com/docs/copilot/customization/mcp-servers).
</details>
<details>
<summary><strong>Cursor</strong></summary>
Add to `~/.cursor/mcp.json`:
```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"
}
}
}
}
```
</details>
<details>
<summary><strong>Other MCP clients</strong></summary>
Any MCP-compatible client that supports stdio transport can use this server. Use the generic configuration above, 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.
</details>
### Deploying the local server safely
The local 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 `POST` to 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 `env` block**, not via a committed `.env` file. 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.com` and `www.altmetric.com`. If your host or container runtime supports it, deny filesystem writes outside `$TMPDIR` and 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 neLo que la gente pregunta sobre altmetric-mcp
¿Qué es altmetric/altmetric-mcp?
+
altmetric/altmetric-mcp es mcp servers para el ecosistema de Claude AI. MCP server for Altmetric APIs - retrieve citation metrics and research output data for AI agents Tiene 6 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala altmetric-mcp?
+
Puedes instalar altmetric-mcp clonando el repositorio (https://github.com/altmetric/altmetric-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar altmetric/altmetric-mcp?
+
Nuestro agente de seguridad ha analizado altmetric/altmetric-mcp y le ha asignado un Trust Score de 79/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene altmetric/altmetric-mcp?
+
altmetric/altmetric-mcp es mantenido por altmetric. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a altmetric-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega altmetric-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/altmetric-altmetric-mcp)<a href="https://claudewave.com/repo/altmetric-altmetric-mcp"><img src="https://claudewave.com/api/badge/altmetric-altmetric-mcp" alt="Featured on ClaudeWave: altmetric/altmetric-mcp" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!