llama-index-readers-mesharc
The LlamaIndex reader for MeshArc, the web crawler that turns sites into clean markdown and records what changed between crawls.
MeshArcReader loads web pages as LlamaIndex Documents, in four modes: scrape, crawl, map and changes.
pip install llama-index-readers-mesharc
You need a MeshArc API key. Make one under Settings → API keys at mesharc.dev; the free plan includes 1,000 credits with no card. Set it as MESHARC_API_KEY, or pass api_key=. Reading pages needs a key with write access.
Usage
from llama_index.core import VectorStoreIndex
from llama_index.readers.mesharc import MeshArcReader
# One page, or many read as one batch
docs = MeshArcReader().load_data(url="https://example.com/pricing")
docs = MeshArcReader().load_data(url=["https://example.com/", "https://example.com/about"])
# A whole site, or a section of it
reader = MeshArcReader(mode="crawl", params={"limit": 100, "includePaths": ["/guides/*"]})
docs = reader.load_data(url="https://docs.example.com")
index = VectorStoreIndex.from_documents(docs)
# The URLs a site declares in its sitemaps, without fetching them
urls = MeshArcReader(mode="map").load_data(url="https://docs.example.com")
# What changed on a watched site since the last crawl
changed = MeshArcReader(mode="changes").load_data(project_id="prj_...")
| Mode | load_data takes |
Each Document |
|---|---|---|
scrape |
url: a URL or a list of URLs |
the page's markdown |
crawl |
url: a site; params takes limit, maxDepth, includePaths, excludePaths and the rest of the crawl options |
one per page read |
map |
url: a site; params takes search and limit |
one per URL in the sitemaps, with the URL as its text |
changes |
project_id, and optionally run_id and against |
one per added or modified page, holding the page as it is now |
Metadata on every page: source and url, title, page_status (one word: ok, missing, blocked, captcha, …), crawled_at and mode.
- Scraped and changed pages also have
status, the HTTP status. A crawl's pages don't, because the API leaves it out of crawl results. - Scraped pages also have
verdictandcredits. - A crawl adds
crawl_id. - Changes add
project_id,run_id,previous_run_id,changed_at,change(added,modified,removedorfields),words_beforeandwords_after.
Values are always strings, numbers or booleans.
Pages that came back with no content (blocked, or a 404) are left out. Pass include_empty=True to keep them; their page_status and error_code say why. In changes mode, removed pages are left out unless include_removed=True.
changes mode keeps an index current: load it after each run of a MeshArc project, and refresh only the pages that changed. Each Document's id_ is run_id:url.
Cost
Requests are billed in MeshArc credits, the same as any other API call:
- a plain page read costs 1 credit, and blocked pages and 404s cost nothing;
- a sitemap read costs 1 credit per sitemap file.
See pricing.
Links
- MeshArc docs and API reference
- The Python SDK, which this package uses
- langchain-mesharc, the same for LangChain
- Questions · security reports to security@mesharc.dev
License
MIT
Metadata
Release files for llama-index-readers-mesharc 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_mesharc-0.1.0.tar.gz | 11.6 kB | With provenance | Details for llama_index_readers_mesharc-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_mesharc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_mesharc-0.1.0-py3-none-any.whl |
Total release size: 21.0 kB
Release files / llama_index_readers_mesharc-0.1.0.tar.gz
| Download URL | llama_index_readers_mesharc-0.1.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ba0bfbe014e3d4763828edb572a2e58d918ae441ab4c27fcae470fd9db37058
|
|
BLAKE2b-256 checksum How to use checksums |
d2518598d30e1fe070a02db7fce9028fa1463c0e502b8efb0721300efef725ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logRelease files / llama_index_readers_mesharc-0.1.0-py3-none-any.whl
| Download URL | llama_index_readers_mesharc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50a793afb6a2541d4fa0cae40b0a99588c7eb0fae4cb256478971b897e05eccd
|
|
BLAKE2b-256 checksum How to use checksums |
f7c2f89e2291c95834347b92254cac0d9c3a1a098d1272a498f2199cb893bd40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logSecurity for llama-index-readers-mesharc 0.1.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for llama_index_readers_mesharc-0.1.0.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 Oct 16, 2026.
Transparency logA 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.