Skip to main content
Glama
CiNii MCP Server

CiNii MCP Server

by suzuuuuu09

CiNii MCP Server

Setup

uv sync --no-dev

Please set the directory path and the CINII_APP_ID.

{
  "mcpServers": {
    "cinii-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "<YOUR_MCP_SERVER_DIRECTORY>",
        "run",
        "server.py"
      ],
      "env": {
        "CINII_APP_ID": "<YOUR_CINII_APP_ID>"
      },
    }
  }
}

Related MCP server: mcp-cinii

API Key Registration

  1. Access CiNii API Registration

  2. Find and access the link for "CiNii Web API Developer Registration".

  3. Upon accessing, a registration form will appear. Fill in the necessary information and submit your application.

  4. After submission, your Application ID will be sent to you via email.

Usage

Python API

from lib.cinii import CiNiiClient, SortOrder, SearchRange

client = CiNiiClient(appid="your_app_id")

# Basic search
results = client.advanced_search({
    "query": "機械学習",
    "max_results":  10
})

# Advanced search with filters
results = client.advanced_search({
    "query": "Deep Learning",
    "max_results": 20,
    "sortorder": SortOrder.PUBLICATION_YEAR_DESC,  # Publication year, descending
    "range": SearchRange.HAS_BODY_IN_CINII,        # The full text is available on CiNii.
    "year_from": 2020,
    "year_to": 2024
})

# Or you can also use numeric values for the search Options
results = client.advanced_search({
    "query": "Deep Learning",
    "max_results": 20,
    "sortorder": 1,  # Publication year, descending
    "range": 1,      # The full text is available on CiNii.
    "year_from": 2020,
    "year_to": 2024
})

Sort Order Options

  • SortOrder.PUBLICATION_YEAR_DESC (1): Publication year descending

  • SortOrder.PUBLICATION_YEAR_ASC (2): Publication year ascending

  • SortOrder.TITLE_DESC (3): Title descending

  • SortOrder.TITLE_ASC (4): Title ascending

  • SortOrder.JOURNAL_DESC (5): Journal descending

  • SortOrder.JOURNAL_ASC (6): Journal ascending

  • SortOrder.CITATION_DESC (7): Citation count descending

Search Range Options

  • SearchRange.ALL (0): All

  • SearchRange.HAS_BODY_IN_CINII (1): Body exists in CiNii

  • SearchRange.HAS_BODY_OR_LINK (2): Body exists in CiNii, or link exists in linked services

Available Tools

1 tool
advanced_search_detailedC

CiNiiで高度な検索を行い、論文情報を取得する

Inputs: issn, lang, page, issue, +15 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion between tools. The tool's purpose is clear from its name and description.

    Naming Consistency5/5

    The single tool uses a descriptive snake_case name that aligns with common MCP naming conventions. With only one tool, there are no inconsistencies to evaluate.

    Tool Count3/5

    One tool is on the low end and feels thin for a server named CiNii, which typically implies a richer API surface. However, the tool itself is comprehensive enough to perform advanced searches, so it's borderline.

    Completeness2/5

    The server only offers a single search tool. It lacks dedicated operations for fetching paper details by ID, managing result pagination, or accessing related resources like authors or references, leaving significant gaps for a full CiNii integration.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables querying Japan's national academic database, CiNii Research, for articles, books, dissertations, KAKEN projects, and researcher profiles via seven MCP tools.
      11
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables searching CiNii Research for academic articles, books, grants, and research data, and retrieving metadata for individual items.
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search and retrieve paper information from CNKI (China National Knowledge Infrastructure), supporting 15 search types, pagination, sorting, and detailed metadata extraction.
      3
      1
      MIT