Skip to main content

scixplorer

Documentation Tests Coverage PyPI

A Python client for SciX (Science Explorer), the successor to the NASA Astrophysics Data System. You write searches as Python expressions; scixplorer checks them, sends the Solr query SciX expects, and returns typed results.

Install

scixplorer needs Python 3.10 or later; its only dependency is httpx. We recommend uv:

uv add scixplorer

or, with pip, pip install scixplorer. There is a variant of scixplorer that also comes with a Model Context Protocol server so that agents can search SciX more efficiently. If you want that version:

uv add scixplorer[mcp]

Get an API token at https://scixplorer.org/user/settings/token and put it in the environment variable SCIX_API_TOKEN, or on the first line of ~/.scix/token.

Example

from scixplorer import Author, Document, export

papers = (
    Document
    .select(
        Document.bibcode,
        Document.title,
        Document.year,
    )
    .where(
        Document.authors.any(
            (Author.name == "Dalcanton, J")
            & Author.affiliation.canonical_name.startswith("University of Washington")
        )
        & Document.year.between(2000, 2010)
    )
    .order_by(Document.citation_count.desc())
    .limit(10)
)
for paper in papers:
    print(paper.year, paper.bibcode, paper.title[0])

print(export.bibtex(papers))
# -> @ARTICLE{2007ApJ...658..941D

This finds papers from 2000 to 2010 on which J. Dalcanton gave a University of Washington affiliation, and exports them as BibTeX. papers.explain() shows the request without sending it.

Coming from the ads package? This is how a search changes (more in the documentation):

# With ads:
# papers = ads.SearchQuery(q='author:"Kewley, L" year:2008')

# The simplest change: keep your query string.
papers = (
    Document
    .select()
    .where(Document.raw('author:"Kewley, L" year:2008'))
)

# The recommended change: write the search in Python.
papers = (
    Document
    .select()
    .where((Document.author == "Kewley, L") & (Document.year == 2008))
)

From the terminal

Installing scixplorer also installs the command scix, which reads plain words:

scix Kewley 2008           # an author and a year
scix exoplanets 2026       # a Unified Astronomy Thesaurus concept and a year
scix ApJ 608 119           # a journal, a volume and a page
scix Kewley et al. 2019 ApJ --bibtex >> references.bib

In a terminal the results open in a browser you move through with the keyboard: read abstracts, follow citations and references, open the full text, copy BibTeX. scix --explain <words> shows how a search is read without sending it. See the documentation.

For AI assistants

scix --mcp runs a Model Context Protocol server, so that an assistant such as Claude can search SciX in plain words, read documents, export references, compute citation metrics and manage your libraries:

claude mcp add scix -- uvx --from "scixplorer[mcp]" scix --mcp

Add --read-only to leave out the tools that change your libraries. See the documentation.

Features

  • Searches as Python expressions on 101 typed document fields, checked when you write them.
  • Several conditions about the same author (Document.authors.any(...)), or the author at a position.
  • Search by journal title, institution, country, Unified Astronomy Thesaurus concept or planetary feature: resolved locally against packaged or downloaded reference data.
  • Your SciX libraries: list, create, change, combine and share them, and search within them.
  • Citation and reference networks and SciX's second-order operators (trending, useful, reviews, similar, top_n).
  • Export in BibTeX and every other format SciX offers; resolver links; network data; citation suggestions; citation metrics.
  • Synchronous and asyncio use with the same queries; retries, rate-limit tracking, and paging handled for you.
  • A command, scix, that searches from the terminal in plain words, and an MCP server for AI assistants.

Metadata

Release files for scixplorer 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scixplorer 1.0.2
File Size Uploaded Provenance Actions
scixplorer-1.0.2.tar.gz 927.2 kB With provenance Details for scixplorer-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scixplorer 1.0.2
File Interpreter ABI Platform Actions
scixplorer-1.0.2-py3-none-any.whl Python 3 none any Details for scixplorer-1.0.2-py3-none-any.whl

Total release size: 1.4 MB

Release files / scixplorer-1.0.2.tar.gz

Download URL scixplorer-1.0.2.tar.gz
Size 927.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e5ab57a715eee46c85672515f62322569c698f3d1fc05fc4e3abf0fedfc21567
BLAKE2b-256 checksum
How to use checksums
b6b872ec2175b38743cc31de391d0b5a4c6f6f64c714f72ac21d51b826a698ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / scixplorer-1.0.2-py3-none-any.whl

Download URL scixplorer-1.0.2-py3-none-any.whl
Size 519.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f72e98758dc4effebce6817aaea234c5a0d92b119a07cb5b63805ea2152dbe1c
BLAKE2b-256 checksum
How to use checksums
c9d5f0b57482a825a3a153236bbde75be43a5a348a5a8f7b88f6eff9dddb7874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for scixplorer 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for scixplorer-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page