Purpose
SPARKIT MCP is an MCP (Model Context Protocol) server used to call the SPARKIT research agent in Claude Desktop, Cursor, Claude Code, or other MCP-compatible clients. Users submit scientific questions through an LLM, and SPARKIT retrieves literature, reads relevant papers, and returns a Markdown report with citations.
Main Capabilities
The server exposes two tools:
- research: Submit a scientific question. SPARKIT searches the literature, reads relevant papers, and returns a Markdown report with citations. This tool blocks until the task is complete (4 minutes by default) and returns the full report inline.
- get_job_status: Retrieve a previously submitted task by id. Useful when research returns before the task is complete, or when you need to review a past report again.
Installation
A pre-release installation method is provided, allowing installation directly from GitHub: uv tool install "git+https://github.com/SPARKIT-science/sparkit-mcp.git",直到首个 PyPI release. After installation, the sparkit-mcp console script will be provided.
Usage
- Register at https://app.sparkit.science/signup (Try-it version charges 10 USD for 5 queries; subscriptions start at 50 USD per month).
- Go to https://app.sparkit.science/keys to create a key.
- Copy the key; the key is shown only once.
- Configure the MCP client.
Configure Claude Desktop
Edit claude_desktop_config.json: macOS path: ~/Library/Application Support/Claude/claude_desktop_config.json Windows path: %APPDATA%\Claude\claude_desktop_config.json Restart Claude Desktop. sparkit should appear in the tools icon next to the chat input box. If sparkit-mcp is not in Claude Desktop's PATH (common with uv tool), use an absolute path; you can find the path with which sparkit-mcp (after uv tool install).
Configure Cursor
Edit ~/.cursor/mcp.json (or .cursor/mcp.json in the project): Reload Cursor (Cmd+Shift+P → "Reload Window").
Example Invocation
After configuration is complete, ask the LLM: Use SPARKIT to look up the most recent literature on the role of WRNIP1 as a synthetic-lethal target in cancer. The LLM will call research. Expect to wait 60-180 seconds, then a Markdown report will be returned with inline citations and a numbered source list.
Tool Parameters
- research(question, response_format?, include_citations?, max_wait_seconds?) Returns Markdown. On timeout, returns a status line containing the job_id so the LLM can later call get_job_status.
- get_job_status(job_id) If the task is complete, returns a Markdown report with citations; if it is still running, returns a status line; otherwisereturns an error message.
Applicable Scenarios
Suitable for researchers, students, or developers who need to quickly obtain literature reviews, research progress, or answers to specific scientific questions in a conversational AI client.
Limitations and Troubleshooting
- Authentication failure: SPARKIT_API_KEY is not set or is invalid. Check claude_desktop_config.json for typos, and restart Claude Desktop after editing.
- Quota exhausted: monthly query count or Try-it credit is used up. Go to https://app.sparkit.science/billing。
- Tool does not appear in Claude Desktop: check the logs. macOS: ~/Library/Logs/Claude/mcp-server-sparkit.log Windows: %LOCALAPPDATA%\Claude\Logs\mcp-server-sparkit.log The most common issue is that command: sparkit-mcp is not in PATH; replace it with the absolute path obtained from which sparkit-mcp.
- Task timeout: max_wait_seconds is capped at 540 seconds (9 minutes). For very in-depth questions, it is recommended to poll get_job_status after submission rather than waiting inline. SPARKIT will also automatically cancel tasks that exceed its internal limit.