TwoSCI
TwoSCI is a literature-research MCP server for seed-paper-driven discovery, screening, evidence gathering, and export.
Create a reusable research brief from a seed paper via DOI, title, WoS UID, Scopus EID, or OpenAlex ID, including intent, scope, focus, and citation context.
Search literature across WoS, Scopus, OpenAlex, Crossref, and opt-in IEEE Xplore, with deduplication, modes, layers, filters, sorting, and provenance.
Use legacy per-platform searches for arXiv, PubMed, bioRxiv, medRxiv, Semantic Scholar, IACR, Google Scholar, ScienceDirect, Springer, and Sci-Hub adapters.
Persist subagent screening decisions as include/exclude/maybe with reasons, confidence, and tags.
Hydrate stored records by record ID or DOI without repeating discovery, and optionally fetch references.
Expand one-hop citation graphs for references, citing papers, or related works, and get citation data by DOI.
Resolve full-text/PDF access routes and optionally download public or publisher papers.
Generate structured reading cards and MinerU companion prompts for deep reading.
Export results as Markdown, JSON, BibTeX, or RIS, optionally filtered by screening verdict.
Check source/platform status, configured keys, quotas, rate limits, caches, and session counts.
Uses Elsevier API credentials to access Scopus detail and abstract entitlements for literature records.
Provides literature search and record access through Scopus, including discovery, abstracts, citation counts, citation graph expansion, and source-status checks when Scopus credentials are configured.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TwoSCI Use DOI 10.1016/j.jbusres.2020.01.001 as seed to find citing policy studies and export BibTeX."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TwoSCI
TwoSCI is a literature research MCP server and plugin for Codex and Claude Code. It follows a researcher's actual workflow: start from a seed paper, define the research intent, search broadly, screen abstracts, read selected papers, trace citations, and export evidence-ready records.
It is designed for speed and stability rather than maximizing the number of search boxes. Web of Science and Scopus are the primary entitlement-backed sources; OpenAlex and Crossref provide fast discovery, metadata, abstracts, open-access links, and fallback coverage. IEEE Xplore is available as an opt-in source for IEEE journals, conferences, standards, and books.
Core Workflow
Research brief: resolve a seed paper by DOI, WoS UID, Scopus EID, OpenAlex ID, or exact title. Capture the user's research intent, metrics, scope, and exclusions.
Discovery: run a deduplicated multi-source search in
quick,balanced, ordeepmode.Screening: split abstracts into batches and delegate semantic screening to subagents. Record include/exclude/maybe decisions with reasons.
Evidence: hydrate selected records, follow references and citing papers, and keep per-source provenance.
Export: write Markdown (synthesis report & evidence cards), JSON (with screening ledger), BibTeX, or RIS. Supports filtering by screening verdict (e.g.,
verdict="include"). Full-text acquisition and parsing remain a separate companion workflow.
Related MCP server: paper-search
MCP Tools
Tool | Purpose |
| Resolve a seed paper and build a reusable research context |
| Unified WoS/Scopus/OpenAlex/Crossref/IEEE search with deduplication |
| Direct IEEE Xplore metadata and abstract search |
| Hydrate stored records without repeating discovery; |
| One-hop references, citing papers, or related works |
| Persist subagent screening decisions and reasons |
| Resolve optimal full-text PDF acquisition routes (direct OA, Elsevier API, IEEE, WebVPN) |
| Generate structured deep-reading evidence cards and MinerU companion prompts |
| Export Markdown, JSON, BibTeX, or RIS; supports |
| Inspect source configuration, product tier, quotas, and sessions |
The original per-platform tools remain available for targeted lookups, PDF access, and legacy workflows.
search_ieee performs a direct IEEE Xplore metadata/abstract search. IEEE is
also accepted as an explicit source in search_literature; it is not part of
the default quick, balanced, or deep source sets.
Native Full-Text Acquisition
PDF acquisition is ported from scansci-pdf into TypeScript and requires no
external scansci-pdf or mineru CLI. Resolution order:
Record-provided PDF URL or input URL
arXiv
Unpaywall
OpenAlex
Semantic Scholar
Europe PMC / PMC
Crossref PDF links
Elsevier API (
ELSEVIER_API_KEY)Deterministic routes for 22 publishers (Elsevier, Springer Nature, Wiley, IEEE, MDPI, PLOS, Frontiers, Copernicus, ACS, RSC, IOP, AIP, APS, Oxford, SAGE, Taylor & Francis, Science, PNAS, Optica, ACM, and others)
Optional WebVPN / CARSI
PDF links discovered on the landing page
MINERU_TOKEN enables MinerU Cloud parsing; without it, the bundled
pdf-parse extractor is used. OA_EMAIL is used for polite-pool requests.
Institutional access is configured with TWOSCI_WEBVPN_* and
TWOSCI_CARSI_*; an existing scansci config can be imported read-only via
TWOSCI_SCANSCI_CONFIG.
The plugin does not bundle Chromium and does not integrate Sci-Hub. Cloudflare/Akamai challenges and interactive SSO cannot be replicated over plain HTTP; those cases fail with an explicit reason.
Browser Fallback: Patchright + Local Chrome/Edge
Patchright is launched only after the HTTP/API/publisher routes fail. It
patches the usual Playwright automation leaks and drives the locally installed
Google Chrome (channel=chrome), falling back to Edge; Chromium is not bundled.
TWOSCI_BROWSER_HEADLESS=auto: try headless first, then relaunch headed when a challenge persists (MDPI returns 403 headless and loads headed).A persistent profile (
~/.twosci/browser-profileby default) keeps challenge cookies across downloads.Resource controls: image/font/media blocking, one shared browser, serialized pages, and idle shutdown after five minutes.
The browser resolves landing pages, challenges, and PDF links/responses; PDF bytes still prefer CDN/API/HTTP routes.
TWOSCI_BROWSER_TURNSTILE_CLICK=trueattempts the Turnstile checkbox; Turnstile is not guaranteed.Automatic SSO login is not implemented. CAS/institution pages return
auth_required; run once withTWOSCI_BROWSER_HEADLESS=falseto log in and reuse the persistent profile.
If Chrome/Edge is missing, run npx patchright install chromium from the
plugin directory to install Patchright's Chromium build (~150 MB).
Result Layers
search_literature separates response detail from upstream quota:
metadata: title, authors, year, venue, DOI, source IDs.abstract: adds abstract, keywords, and per-source citation counts.evidence: adds references, open-access links, and all identifiers.
For an Expanded WoS search, TwoSCI fetches the full record once and keeps it in
the session. layer only controls how much is returned to the model; it does
not trigger a second WoS lookup.
Search Modes
Mode | Results per source | Typical use |
| 10 | Scope a topic and test query terms |
| 25 | Default formal screening pass |
| 50 | After the query has converged |
Web of Science Behavior
If WOS_EXPANDED_API_KEY is configured:
Discovery, detail, and citation lookups default to Expanded.
Expanded records default to Full Record, so abstracts are available without a second quota-consuming request.
Citation expansion uses
/references,/citing, and/related.
If only WOS_API_KEY is configured, TwoSCI falls back to Starter v2 and warns
that abstracts and citation relations are limited. Starter trials are not
sufficient for a practical abstract-screening workflow; institutional WoS
access or Expanded is recommended.
IEEE Xplore Behavior
Configure IEEE_XPLORE_API_KEY to enable IEEE Xplore. The integration uses the
official Metadata API with the key passed as the apikey query parameter.
One request returns up to 200 records.
Search results include abstracts, author keywords, IEEE terms, citation counts, open-access status, and IEEE article numbers.
IEEE metadata may include records outside your institution's subscription; this does not grant full-text access.
IEEE has no references or citing-paper graph in this integration. Use WoS Expanded or OpenAlex for citation expansion.
IEEE_XPLORE_RPScontrols the local request rate. Keep it at or below the rate limit shown during IEEE registration; the default is 1 request/second.
After applying, IEEE reviews the application and issues keys during US Eastern
business hours on weekdays. An unapproved key returns
ERR_403_DEVELOPER_INACTIVE.
Installation
Codex
From a local checkout:
codex plugin marketplace add F:\path\to\TwoSCI
codex plugin add twosci@twosci-marketplaceFrom GitHub:
codex plugin marketplace add zzhzkx/TwoSCI
codex plugin add twosci@twosci-marketplaceClaude Code
/plugin marketplace add zzhzkx/TwoSCI
/plugin install twosci@twosci-marketplaceBuild from Source
npm ci
npm run build:pluginnpm run build:plugin creates plugin/, a clean bundle containing the MCP
server, the skill, and Codex/Claude manifests. The development repository and
its node_modules are not copied into the plugin.
Configuration
Create .env from .env.example, or configure the same variables in the host
application. Never commit real credentials.
WOS_EXPANDED_API_KEY=
WOS_API_KEY=
ELSEVIER_API_KEY=
SCOPUS_SEARCH_API_KEY=
IEEE_XPLORE_API_KEY=
IEEE_XPLORE_RPS=1
OPENALEX_EMAIL=
CROSSREF_MAILTO=WOS_EXPANDED_API_KEY: preferred WoS product.WOS_API_KEY: Starter fallback.ELSEVIER_API_KEY: Scopus detail/abstract entitlement.SCOPUS_SEARCH_API_KEY: optional dedicated Scopus Search key.IEEE_XPLORE_API_KEY: IEEE Xplore Metadata API key.IEEE_XPLORE_RPS: local IEEE request rate; default1.OPENALEX_EMAIL: polite-pool contact email.CROSSREF_MAILTO: Crossref polite-pool contact email.
Example: Seed Paper
User input:
This is my baseline paper: DOI
10.xxxx/xxxx. Use it to find background, indicators, and policy evaluation studies in this field.
Agent flow:
Call
create_research_briefwith the DOI and the user's intent.Review the returned seed abstract, keywords, references, citing sample, and frequent terms.
Compose two to four explicit queries; do not silently rewrite the research scope.
Call
search_literaturewith the returnedbrief_id.Screen abstracts in subagent batches and call
save_screening.Call
get_literature_recordsfor selectedrecord_ids.Call
expand_citation_graphfor the seed and key included papers.Export the final set with
export_literature(format="markdown"orformat="json", optionallyverdict="include").
The bundled skills/literature-search skill defines the subagent batching
protocol and the full evidence workflow.
Data and Compliance
WoS/Scopus/IEEE full records are held in memory for the current research session.
No background disk cache is written for WoS/Scopus/IEEE content.
User-initiated BibTeX/RIS/JSON export is the intended retention path.
Citation counts are kept per source and are not summed across databases.
OpenAlex/Crossref may use short-lived in-process caches.
Google Scholar scraping and Sci-Hub are not part of the default workflow.
Development
npm ci
npm run build
npm run lint
npm test -- --runInBand
npm run build:pluginLicense
MIT. See LICENSE.
Available Tools
34 toolscheck_scihub_mirrorsC
Check the health status of all Sci-Hub mirror sites
Inputs: forceCheck.
create_research_briefA
Create a research brief from a seed paper plus the user intent. Resolves the seed with WoS Expanded (when configured), Scopus, OpenAlex, and Crossref; returns its abstract, keywords, references, citing sample, and a brief_id for later searches.
Inputs: seed (required), intent (required), focus, scope, +1 more.
discover_paper_accessA
Discover a public publisher PDF candidate for one DOI without claiming open-license or complete download success
Inputs: doi (required), verifyPdf.
download_paperC
Download PDF file of an academic paper
Inputs: paperId (required), platform (required), savePath.
download_public_paperC
Download a public paper from Publisher, Google Scholar, or Sci-Hub using bounded page fallback and local PDF validation
Inputs: paperId (required), platform (required), savePath.
expand_citation_graphA
Expand one hop from seed papers through references, citing papers, or related records. Uses WoS Expanded first when the seed has a WoS UID, then OpenAlex, then Crossref. Returns graph nodes, typed edges, and a search_id for export or hydration.
Inputs: seeds (required), searchId, directions, recordView, +1 more.
export_literatureA
Export literature records to Markdown, JSON, BibTeX, or RIS. Supports filtering by screening verdict (include, maybe, exclude). Markdown produces a structured evidence synthesis report with summary table and cards; JSON includes complete screening ledgers and multi-source provenance.
Inputs: format (required), briefId, verdict, searchId, +2 more.
generate_reading_cardsA
Generate structured deep-reading evidence cards and extraction prompts tailored for MinerU PDF-to-Markdown full-text outputs. Extracts problem statement, algorithmic formulation, quantitative benchmark metrics, experimental setup, and limitations.
Inputs: briefId, verdict, searchId, recordIds.
get_citationsA
Retrieve citation data (citation count, references, venue) for a paper by DOI using Semantic Scholar
Inputs: doi (required), forceRefresh.
get_literature_recordsA
Hydrate stored search results by record_id, or resolve DOIs, without re-running discovery. By default returns the full abstract and references already held in the session. Set refresh=true only when fresh provider metadata is required.
Inputs: dois, refresh, searchId, recordIds, +3 more.
get_paper_by_doiB
Retrieve paper information using DOI from available platforms
Inputs: doi (required), platform.
get_paper_markdownB
Explicitly retrieve bounded, untrusted ScrapingAnt Markdown for a Publisher, Scholar, or Sci-Hub paper reference
Inputs: paperId (required), platform (required).
get_platform_statusC
Check the status and capabilities of available academic platforms
Inputs: validate.
get_source_statusB
Report configured sources, WoS default product, quota/rate status, OpenAlex/Crossref cache state, IEEE rate status, and in-memory brief/search session counts. Set validate=true only when an actual key validation request is acceptable.
Inputs: validate.
resolve_fulltext_accessB
Resolve optimal full-text PDF acquisition routes for screened literature (scansci-inspired tiered routing: direct OA/CDN, Elsevier API fast lane, IEEE Xplore, Springer TDM, or institutional WebVPN). Defaults to verdict=include.
Inputs: briefId, verdict, searchId, recordIds.
save_screeningB
Persist include/exclude/maybe decisions and reasons from abstract-screening subagents. The decision ledger is attached to the search_id and can be exported or reviewed later.
Inputs: searchId (required), decisions (required), notes.
search_arxivC
Search academic papers specifically from arXiv preprint server
Inputs: query (required), year, author, sortBy, +3 more.
search_biorxivB
Search bioRxiv preprint server for biology papers
Inputs: query (required), days, category, maxResults.
search_crossrefC
Search academic papers from Crossref database. Free API with extensive scholarly metadata coverage across publishers.
Inputs: query (required), year, author, sortBy, +2 more.
search_google_scholarC
Search Google Scholar for academic papers using web scraping
Inputs: query (required), author, yearLow, yearHigh, +1 more.
search_iacrC
Search IACR ePrint Archive for cryptography papers
Inputs: query (required), maxResults, fetchDetails.
search_ieeeA
Search IEEE Xplore metadata and abstracts (requires IEEE_XPLORE_API_KEY). One request returns up to 200 records; results may include metadata outside the caller's institutional subscription.
Inputs: query (required), year, author, journal, +3 more.
search_literatureA
Unified deduplicated literature search across WoS (Expanded by default when configured), Scopus, OpenAlex, Crossref, and IEEE Xplore (opt-in source). Returns candidates with source provenance and a search_id. Use layer=metadata for cheap triage, abstract for screening, evidence for deeper evidence packets. Screening should be delegated to subagents in batches.
Inputs: query (required), mode, year, layer, +10 more.
search_medrxivC
Search medRxiv preprint server for medical papers
Inputs: query (required), days, category, maxResults.
search_openalexC
Search OpenAlex for fast free discovery and one-hop citation enrichment
Inputs: query (required), year, sortBy, sortOrder, +2 more.
search_papersC
Search academic papers from multiple sources including arXiv, Web of Science, etc.
Inputs: query (required), days, year, author, +8 more.
search_pubmedC
Search biomedical literature from PubMed/MEDLINE database using NCBI E-utilities API
Inputs: query (required), year, author, sortBy, +3 more.
search_sciencedirectC
Search academic papers from Elsevier ScienceDirect database (requires API key)
Inputs: query (required), year, author, journal, +2 more.
search_scihubA
Controlled, opt-in Sci-Hub DOI adapter (disabled by default); accepts DOI/doi.org URLs only, tries direct mirrors before bounded ScrapingAnt fallback, and does not grant access rights.
Inputs: doiOrUrl (required), savePath, downloadPdf.
search_scopusB
Search the Scopus abstract and citation database (requires Elsevier API key). COMPLETE view returns abstracts and is paginated.
Inputs: query (required), year, author, journal, +5 more.
search_semantic_scholarC
Search Semantic Scholar for academic papers with citation data
Inputs: query (required), year, maxResults, fieldsOfStudy.
search_springerA
Search academic papers from Springer Nature database. Uses Metadata API by default (all content) or OpenAccess API when openAccess=true (full text available). Same API key works for both.
Inputs: query (required), type, year, author, +4 more.
search_webofscienceB
Search Web of Science. Defaults to Expanded when its key is configured, otherwise Starter; explicitly selecting a product is optional.
Inputs: query (required), year, author, sortBy, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
Source-specific search tools are mostly distinguishable by database, but unified tools like search_papers and search_literature overlap heavily with the many search_* tools. Full-text acquisition is split across discover_paper_access, resolve_fulltext_access, download_paper, download_public_paper, get_paper_markdown, and search_scihub with subtle boundaries that are easy to misselect.
All tool names use snake_case and begin with clear action verbs such as search_, get_, download_, export_, save_, and resolve_. The pattern is predictable throughout despite some longer names.
At 34 tools, the surface is heavy for an academic literature workflow and includes many source-specific and access/download variants that duplicate functionality covered by unified tools. This exceeds a well-scoped set and increases selection burden.
The server covers the literature lifecycle well: discovery, deduplication, citation expansion, hydration, screening, export, full-text access/download, and reading-card generation. Minor gaps exist around reviewing or managing screening ledgers, but core workflows are covered.
Maintenance
Related MCP Connectors
Academic literature search, retrieval, and private library management on top of OpenAlex.
Citation graph search over OpenAlex: similar papers, citation networks, paths and BibTeX export.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Find related scientific papers through their citation network, from OpenAlex and Semantic Scholar.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables discovery and analysis of research ecosystems by extracting metadata from paper URLs, GitHub repositories, and research names. Automatically finds related papers, code repositories, models, datasets, and authors across platforms like arXiv, HuggingFace, and GitHub.-
- AlicenseNot gradedqualityDmaintenanceEnables searching, downloading, and exporting academic papers from 20+ scholarly sources including arXiv, PubMed, and Semantic Scholar. Supports multi-source concurrent search, citation network tracing, and export to CSV, RIS, and BibTeX.1MIT
- AlicenseBqualityCmaintenanceEnables automatic literature discovery, screening, and ranking across OpenAlex, Semantic Scholar, and arXiv, with tools for exporting to Zotero and generating research ideas.71MIT
- AlicenseAqualityCmaintenanceEnables keyless, read-only literature research by searching OpenAlex, Crossref, Europe PMC, PubMed and arXiv at once, merging and ranking results, following citations, retrieving open-access full text, looking up clinical trials, verifying citations, and exporting BibTeX, RIS or CSL-JSON without any accounts or API keys.102MIT