Altmetric Mcp

com.altmetric.mcp由 mcp.altmetric.com 发布官方发布者v1.2.6更新于 Oct 29, 2026

MCP server for Altmetric APIs - track research attention across news, policy, social media, and more

已验证Streamable HTTP可网页运行网页搜索与抓取知识与记忆数据与分析

概览

AI 生成的概览

Altmetric MCP 服务器,让助手查询并分析研究成果在新闻、政策、社交媒体等渠道受到的关注。

可以做什么
  • 按 DOI、PubMed ID 等标识符查询研究成果的关注度指标,并按时间范围检索近期关注
  • 获取完整提及正文、作者信息与元数据,以及批量查询多个 DOI 的关注度指标
  • 将 DOI、PMID 等标识符转换为 Altmetric ID
  • 在 Altmetric 数据库中搜索、筛选和汇总研究成果、提及、关注度汇总、提及来源与期刊
  • 分析受众地域与人口统计特征,并列出机构的部门
  • 按研究人员、资助项目或给定标识符列表限定 Explorer 查询范围
适用场景
适合研究人员、图书馆员和科研管理部门查看或汇报论文在新闻、政策引用和受众地域等方面的实际影响力,或在不离开助手的情况下探索本机构的科研成果。
运行要求
可使用托管端点并通过 OAuth 登录 Altmetric 账户,或通过 npx 在本地运行,需 Node.js 20.6.0 或更高版本。本地运行至少需要一组凭据:ALTMETRIC_DETAILS_API_KEY,或同时提供 ALTMETRIC_EXPLORER_API_KEY 与 ALTMETRIC_EXPLORER_API_SECRET。Explorer 工具需机构权限,部分 Details Page 工具需商业版。需能访问 Altmetric 主机的 HTTPS 出网。
安装前请注意
API 密钥属于机密,且会出现在 URL 查询字符串中,应按 bearer 级凭据对待,并通过宿主的 env 配置传入,而非提交到文件。工具参数会原样转发给 Altmetric 的 API,提示中的受限数据会离开你的边界。X(Twitter)提及仅返回数字标识符,不含账号名或正文。免费版密钥使用部分工具会返回 403。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Altmetric Mcp,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.altmetric.mcp%2Faltmetric-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "altmetric": {
      "type": "http",
      "url": "https://mcp.altmetric.com/mcp"
    }
  }
}

README

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, Details Page, 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.

What access you need

The server works with access to either one of Altmetric's APIs on its own - the Details Page API or the Explorer API - and gives you the tools for whichever you have. To get the full potential of Altmetric, having both is strongly recommended, because they answer different questions:

  • Details Page API - the attention for a specific research output, looked up by identifier (DOI, PubMed ID, etc.), and a search of recent attention by timeframe.
  • Explorer API - searching, filtering and aggregating research outputs, mentions, audience demographics and journals across the whole Altmetric database, and across your own institution's outputs.

With only one, you get only that API's tools. See Tools for which tools come with each API, and request API access if you're missing one.

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.

Example prompts

Once connected, ask in plain language - your client picks the tool. Each of these exercises a different one:

PromptTool it usesNeeds
"What's the Altmetric attention score for DOI 10.1038/nature12373, and how much of it came from news versus policy?"get_citation_countsDetails Page, free tier
"Which research outputs were picked up by policy documents in the last month?"search_citationsDetails Page, free tier
"Show my institution's 2025 research outputs that got news coverage, ranked by attention."explore_research_outputsExplorer, institutional
"Which countries is the audience for our cancer research in, over the past year?"explore_demographicsExplorer, institutional

You only see the tools your account is entitled to, so the Explorer prompts need institutional access. The full toolset is in Tools below.

Data sources and licensing

Every tool calls Altmetric's own APIs - the Details Page API and the Explorer API, both first-party Altmetric (Digital Science) services. The server proxies no third-party API and holds no third-party data of its own.

What those APIs return includes attention collected from third-party platforms under Altmetric's own agreements with them, and one of those agreements changes what comes back. Under Altmetric's licence with X (formerly Twitter), mentions from X carry numeric identifiers only: no account handle, display name or post text, at any tier and on either API. Counts, ids and aggregate demographics are available; named accounts are not. See X mentions and X data in Altmetric's APIs.

Every other source - news outlets, blogs, Bluesky, Reddit, podcasts, policy documents, patents - comes back named.

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 is recommended (download)
  • Altmetric API credentials (at least one, both recommended - see What access you need above):
    • Details Page API key - Free tier or commercial access
    • Explorer API key + secret - Institutional access

Don't have keys yet? Request API access

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"  }}
Claude Desktop
  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"

Claude Code

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
VS Code (GitHub Copilot)

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.

Cursor

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"      }    }  }}
Other MCP clients

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.

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 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

ProblemSolution
Sign-in window doesn't open / "authentication required" (hosted)Your client must support remote MCP over HTTP with OAuth. In Claude Code run /mcp and authenticate; in Claude Desktop use the connector's Connect button. Make sure browser launches aren't blocked.
Signed in but some tools are missing (hosted)You only see tools for the products your Altmetric account can access (Explorer, Details Page, or both). If you expect more, contact your Altmetric account admin.
command not found: node (local)Node.js is not installed. Download it here (version 20.6.0 or later).
Claude Desktop won't start after editing config (local)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" (local)Run npx -y altmetric-mcp in Terminal to see the actual error. Usually a missing/invalid API key or Node.js version too old.
Tools appear but return 403 errorsYou're using a free-tier key with a commercial-tier tool (get_citation_details). Use get_citation_counts or search_citations instead.
First query is slow (local)Normal. npx downloads the package on first run. Subsequent uses are faster.
Explorer tools fail (local)Explorer tools need both ALTMETRIC_EXPLORER_API_KEY and ALTMETRIC_EXPLORER_API_SECRET. Make sure both are set.

API Tiers

Details Page API

  • Free Tier: Access to get_citation_counts and search_citations
  • Commercial 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 twelve tools across two APIs:

ToolAPITierDescription
get_citation_countsDetails PageFreeAttention metrics by identifier (DOI, PubMed ID, etc.)
get_citation_detailsDetails PageCommercialFull mention text, author details (incl. Dimensions Researcher IDs), metadata
search_citationsDetails PageFreeSearch attention data across all outputs by timeframe
get_batch_attention_dataDetails PageCommercialAttention metrics for many DOIs at once, ranked
translate_identifiersDetails PageCommercialTranslate identifiers (DOI, PMID, etc.) to Altmetric IDs
explore_research_outputsExplorerInstitutionalSearch and filter research outputs
explore_attention_summaryExplorerInstitutionalAggregated attention metrics by source and date
explore_mentionsExplorerInstitutionalIndividual mention details with filtering
explore_demographicsExplorerInstitutionalAudience geographic and demographic data
explore_mention_sourcesExplorerInstitutionalSource/outlet analysis for mentions
explore_journalsExplorerInstitutionalJournal metrics, rankings, and search
list_departmentsExplorerInstitutionalList your institution's departments and their IDs

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

License

MIT

来源:README.md,提交 a799b10

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

4
  1. v1.2.6最新Oct 29, 2026
  2. v1.2.4Oct 14, 2026
  3. v1.2.3Oct 2, 2026
  4. v1.2.2Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Altmetric 集成