Skip to main content
Glama

sparkit-mcp

MCP-сервер для SPARKIT — вызывайте агента для научных исследований из Claude Desktop, Cursor, Claude Code или любого другого MCP-совместимого клиента.

Предоставляются два инструмента:

  • research — отправка научного вопроса. SPARKIT выполняет поиск по литературе, читает соответствующие статьи и возвращает отчет в формате Markdown со ссылками. Ожидает завершения работы (по умолчанию 4 минуты) и возвращает полный отчет в тексте.

  • get_job_status — получение ранее отправленного задания по его идентификатору. Полезно, если research вернул ответ до завершения задания или если нужно вернуться к предыдущему отчету.

Установка

uv tool install sparkit-mcp

Или с помощью pip:

pip install sparkit-mcp

Любой из этих способов устанавливает консольный скрипт sparkit-mcp. (Предварительная версия: устанавливайте напрямую из GitHub с помощью uv tool install "git+https://github.com/SPARKIT-science/sparkit-mcp.git" до выхода первого релиза в PyPI.)

Related MCP server: scholar-memory

Получение API-ключа

  1. Зарегистрируйтесь на https://app.sparkit.science/signup (пробная версия стоит $10 за 5 запросов; подписки начинаются от $50/мес).

  2. Перейдите на https://app.sparkit.science/keys и создайте ключ.

  3. Скопируйте ключ — он отображается только один раз.

Настройка MCP-клиента

Claude Desktop

Отредактируйте claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Добавьте:

{
  "mcpServers": {
    "sparkit": {
      "command": "sparkit-mcp",
      "env": {
        "SPARKIT_API_KEY": "sk_sparkit_..."
      }
    }
  }
}

Перезапустите Claude Desktop. Вы должны увидеть sparkit в значке инструментов рядом с полем ввода чата.

Если sparkit-mcp отсутствует в PATH Claude Desktop (часто бывает при использовании uv tool), используйте абсолютный путь:

"command": "/Users/you/.local/bin/sparkit-mcp"

(Найдите путь с помощью which sparkit-mcp после выполнения uv tool install.)

Cursor

Отредактируйте ~/.cursor/mcp.json (или .cursor/mcp.json в вашем проекте):

{
  "mcpServers": {
    "sparkit": {
      "command": "sparkit-mcp",
      "env": {
        "SPARKIT_API_KEY": "sk_sparkit_..."
      }
    }
  }
}

Перезагрузите Cursor (Cmd+Shift+P → "Reload Window").

Claude Code

claude mcp add sparkit -e SPARKIT_API_KEY=sk_sparkit_... -- sparkit-mcp

Попробуйте

После настройки задайте LLM вопрос:

Use SPARKIT to look up the most recent literature on the role of WRNIP1 as a synthetic-lethal target in cancer.

LLM вызовет research. Ожидайте от 60 до 180 секунд, после чего появится отчет в формате Markdown с встроенными цитатами и нумерованным списком источников.

Конфигурация

Переменная окружения

По умолчанию

Описание

SPARKIT_API_KEY

(обязательно)

Bearer-ключ с https://app.sparkit.science/keys.

SPARKIT_API_BASE

https://jlsteenwyk--sparkit-api-web.modal.run

Переопределение базового URL API. Полезно для промежуточных или собственных развертываний.

SPARKIT_API_TIMEOUT_SECONDS

30

Тайм-аут для каждого HTTP-запроса. Не влияет на общее время ожидания research; для этого есть max_wait_seconds.

Справочник инструментов

research(question, response_format?, include_citations?, max_wait_seconds?)

Аргумент

Тип

По умолч.

Описание

question

string

—

Научный вопрос. Обязательно. Будьте конкретны.

response_format

"full" или "brief"

"full"

Объем возвращаемого отчета в Markdown.

include_citations

boolean

true

Оставьте true для отчетов с источниками.

max_wait_seconds

int (30-540)

240

Сколько времени ожидать перед возвратом job_id с инструкциями по опросу.

Возвращает Markdown. При истечении времени ожидания возвращает строку состояния с job_id, чтобы LLM могла вызвать get_job_status позже.

get_job_status(job_id)

Возвращает отчет в формате Markdown со ссылками, если задание завершено, строку состояния, если оно все еще выполняется, или сообщение об ошибке в противном случае.

Устранение неполадок

Authentication failed — SPARKIT_API_KEY не задан или недействителен. Проверьте claude_desktop_config.json на наличие опечаток; перезапустите Claude Desktop после внесения изменений.

Quota exhausted — исчерпан лимит ежемесячных запросов / пробных кредитов. Посетите https://app.sparkit.science/billing.

Инструмент не появляется в Claude Desktop — проверьте лог Claude Desktop:

  • macOS: ~/Library/Logs/Claude/mcp-server-sparkit.log

  • Windows: %LOCALAPPDATA%\Claude\Logs\mcp-server-sparkit.log

Самая частая проблема — command: sparkit-mcp отсутствует в PATH; замените его на абсолютный путь, полученный через which sparkit-mcp.

Задание истекает по времени — ограничение max_wait_seconds составляет 540 секунд (9 минут). Для очень глубоких вопросов отправьте запрос, а затем опрашивайте get_job_status вместо ожидания в потоке. SPARKIT также автоматически отменяет задания, превышающие его собственные внутренние лимиты.

Лицензия

MIT.

Available Tools

2 tools
get_job_statusA

Fetch the current status (and result if done) of a SPARKIT job.

Use this when research returned before the job finished, or to revisit a previous result by id.

Args: job_id: The id returned by a prior research call.

Returns the cited Markdown report if the job has completed, a status line if it's still running, or a failure message otherwise.

Inputs: job_id (required). Returns: result

researchA

Submit a scientific question to the SPARKIT research agent.

SPARKIT searches the literature, reads relevant papers, and returns a cited Markdown report. Best for questions where a correct answer requires synthesizing across multiple primary sources.

Args: question: Free-text scientific question. Be specific — "Which kinases are upregulated in pancreatic cancer with evidence from human tissue?" works better than "tell me about pancreatic cancer." response_format: "full" (default) for a multi-paragraph Markdown report, or "brief" for a tighter summary. include_citations: Keep True (default) so the report is usable for downstream work; only set False if you specifically want unsourced prose. max_wait_seconds: How long to block waiting for the job before returning the job_id with instructions to poll via get_job_status. Default 240s (4 min). Range 30-540.

Returns the cited Markdown report on success. If the job is still running at the wait limit, returns the job_id and status so the caller can resume with get_job_status.

Inputs: question (required), response_format, include_citations, max_wait_seconds. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: 'research' submits a scientific question and returns either a report or a job ID, while 'get_job_status' retrieves the status or result of a previously submitted job. There is no overlap in functionality.

    Naming Consistency4/5

    Both tool names use snake_case, but 'research' is a single-word noun while 'get_job_status' follows a verb_noun pattern. This minor inconsistency prevents a perfect score.

    Tool Count4/5

    With only two tools, the server covers the essential workflow of submitting a research job and checking its status. While minimal, the count is appropriate for the narrow scope of a scientific research agent.

    Completeness3/5

    The tool set covers the primary use case (submit and retrieve results), but lacks features like job listing, cancellation, or retry. For a simple agent this may suffice, but there are notable gaps in lifecycle management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables scientific literature research through multi-agent search, analysis, and semantic memory, exposing 9 MCP tools for querying, storing, and retrieving research findings.
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search and retrieve academic papers from arXiv and PubMed with citation-grade extraction, providing clean citations and summaries.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run reproducible, high-recall literature search across seven source families with RRF fusion, fetch open-access full texts (falling back to abstracts), expand citations, export BibTeX/RIS, and audit reference coverage — all without any LLM API key, leaving query planning and writing to the agent. Multiple agent clients share one accumulating literature pool and background search jobs that keep running after sessions close.
      3
      MIT