Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

AMiner Server

БесплатноНе проверен

Access AMiner's free academic data APIs to search researchers, papers, and patents, enabling AI agents to retrieve and utilize global research information.

GitHubEmbed

Описание

Access AMiner's free academic data APIs to search researchers, papers, and patents, enabling AI agents to retrieve and utilize global research information.

README

English | 中文

💡 Core Advantage: Free Academic Data Access

Currently, AMiner's core search interfaces (Scholar, Paper, and Patent Search) are free to use. This allows you to integrate massive global research data into your AI workflow with zero API costs, making it the most cost-effective solution for academic automation.

This directory provides a Model Context Protocol (MCP) server for accessing AMiner's open platform API.

Quick Install

Installation

pip install -e .

Configuration

Set your AMiner API token as an environment variable:

Windows (PowerShell):

$env:AMINER_TOKEN="your_token_here"

Linux/Mac:

export AMINER_TOKEN="your_token_here"

Or create a .env file in your project root:

AMINER_TOKEN=your_token_here

Usage

Run the server:

python -m aminer_mcp

Or use the command-line shortcut:

aminer-mcp

Features

  • Scholar Search: Find researchers by name or organization.
  • Paper Search: Find papers by title.
  • Patent Search: Search patents by keywords.

Setup

  1. Install Dependencies:

    pip install "mcp[cli]" requests
    
  2. Get API Token:

  3. Configure Environment: You can either set the AMINER_TOKEN environment variable manually or use the provided .env file.

    Option A: Using .env (Recommended) A .env file has been created for you with your token. The server will automatically load it.

    Option B: Manual Environment Variable

    Windows (PowerShell):

    $env:AMINER_TOKEN="your_token_here"
    

    Linux/Mac:

    export AMINER_TOKEN="your_token_here"
    

Running the Server

You can run the server directly or use it with an MCP client (like Claude Desktop or generic IDEs).

Quick Start (Recommended)

For a guided startup experience with environment and dependency checks:

Windows:

.\start_server.ps1

Linux/Mac:

chmod +x start_server.sh
./start_server.sh

Direct Run (stdio)

python server.py

Inspecting with MCP CLI

You can use the MCP CLI to inspect and test the server.

mcp dev server.py

Tools Available

  1. search_scholar:

    • name: Scholar name.
    • org: Organization.
    • offset: Pagination offset.
    • size: Result count.
  2. search_paper:

    • title: Paper title.
    • page: Page number.
    • size: Result count.
  3. search_patent:

    • query: Search query.
    • page: Page number.
    • size: Result count.
  4. get_papers_by_ids:

    • ids: Comma-separated list of paper IDs.
  5. search_paper_pro (0.01 CNY/call):

    • Fallback Tool: Use only when strictly necessary.
    • title, keyword, author, page, size.

API References

  • Scholar Search: Docs
  • Paper Search: Docs
  • Paper Search Pro: Docs
  • Patent Search: Docs
  • Paper Info: Docs

Configuration for Cursor IDE

To use this MCP server in Cursor editor, add the following configuration:

Windows (Cursor config path: %APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json):

{
  "mcpServers": {
    "aminer": {
      "command": "python",
      "args": ["-m", "aminer_mcp"],
      "env": {
        "AMINER_TOKEN": "<YOUR_AMINER_TOKEN>"
      }
    }
  }
}

Linux/Mac:

{
  "mcpServers": {
    "aminer": {
      "command": "python3",
      "args": ["-m", "aminer_mcp"],
      "env": {
        "AMINER_TOKEN": "<YOUR_AMINER_TOKEN>"
      }
    }
  }
}

Note: Replace <YOUR_AMINER_TOKEN> with your actual AMiner API token from AMiner Open Platform.

Contributing

Issues and Pull Requests are welcome!

Usage as an Agent Skill

This repository also includes an Agent Skill definition, allowing AI agents (like Cursor's Agent) to use AMiner search capabilities directly without a full MCP server setup for local tasks.

Skill Location: .agent/skills/aminer-search/

How it works

The skill wraps the AMiner client code into a simple CLI tool that agents can invoke to perform searches.

Prerequisite

Ensure the AMINER_TOKEN environment variable is set in your terminal or .env file.

Skill Capabilities

  • Paper Search: python .agent/skills/aminer-search/scripts/search_tool.py paper --title "..."
  • Scholar Search: python .agent/skills/aminer-search/scripts/search_tool.py scholar --name "..."
  • Patent Search: python .agent/skills/aminer-search/scripts/search_tool.py patent --query "..."

Agents detecting this skill will automatically know how to use these commands to fetch academic data for you.

License

MIT License

from github.com/huanghuoguoguo/aminer-mcp

Установка AMiner Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/huanghuoguoguo/aminer-mcp

FAQ

AMiner Server MCP бесплатный?

Да, AMiner Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для AMiner Server?

Нет, AMiner Server работает без API-ключей и переменных окружения.

AMiner Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить AMiner Server в Claude Desktop, Claude Code или Cursor?

Открой AMiner Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare AMiner Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai