Skip to main content

mcpscraper-memory-sdk (Python)

Official Python clients for the unified 364-tool mcpscraper.dev MCP catalog. The direct 143-tool Memory manifest remains checked for runtime compatibility.

Release history

This is a thin JSON-RPC client generated against ../../contracts/memory.tools.json, the public contract for the hosted API. It contains no product source — only typed request/response plumbing.

Install

pip install mcpscraper-memory-sdk

Usage

import os
from mcpscraper_memory import MemoryClient, MemoryApiError

client = MemoryClient(api_key=os.environ["MCP_SCRAPER_API_KEY"])

try:
    result = client.memory.search(query="competitor pricing pages")
    for hit in result.results or []:
        print(hit["source"], hit["score"])
except MemoryApiError as err:
    print(f"memory call failed: {err}")

Namespaces

client.access, client.capture, client.channels, client.crm, client.facts, client.files, client.graph, client.library, client.memory, client.recall, client.research, client.schedule, client.storage, client.tables, client.tags, client.vaults, client.video, client.webhooks — one method per tool, snake_case, typed with generated Pydantic models. Use Research for sourced knowledge and CRM for an actual relationship; counterpart operations link records without copying fields. External CRM providers remain unavailable, with no setup or write wrapper. Original Gmail attachment bytes saved to Memory are available through client.files.file_asset_save(...) and client.files.file_asset_get(...).

Use the same key with McpToolsClient for all 364 unified scraper and Memory tools.

Use client.call_tool_result(name, args) for native MCP image, audio, or resource blocks. The existing call_tool method keeps returning the parsed structured/text value.

The unified MCP client accepts pages=2 on client.other.harvest_paa_start(...). It keeps one page as the default, adds page-two organic results when available, and expands PAA only on the preserved first page. Poll the same job with harvest_paa_status; pagination remains nullable for results saved under older contracts.

Authentication

Set MCP_SCRAPER_API_KEY once. MemoryClient, McpToolsClient, and the scraper SDK all use that same customer credential against https://mcpscraper.dev/mcp.

Regenerating models

src/mcpscraper_memory/models/ and _generated_client.py are generated from ../../contracts/memory.tools.json. After editing the manifest, regenerate with:

python scripts/generate_models.py

See also

Repo README (multi-language examples with real sample output) · mcpscraper-memory-sdk on npm (Node) · mcpscraper-sdk on PyPI (also reaches these 143 tools via a scraper key) · mcpscraper-cli

Release changes: SDK 0.49.0 release notes.

Release files for mcpscraper-memory-sdk 0.46.0

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

Source distribution (sdist)

Source distribution for mcpscraper-memory-sdk 0.46.0
File Size Uploaded
mcpscraper_memory_sdk-0.46.0.tar.gz 184.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcpscraper-memory-sdk 0.46.0
File Interpreter ABI Platform
mcpscraper_memory_sdk-0.46.0-py3-none-any.whl Python 3 none any Details

Total release size: 729.7 kB

Release files / mcpscraper_memory_sdk-0.46.0.tar.gz

Download URL mcpscraper_memory_sdk-0.46.0.tar.gz
Size 184.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f2278d1cb823e85b8c231050ee8a4d8b0e4e99187dabac3eb3139d9bd62406b0
BLAKE2b-256 checksum
How to use checksums
0e7b244871ce3f3ead8fb297f9a196c75b3237d69c68d6c47c900200e0bd832f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / mcpscraper_memory_sdk-0.46.0-py3-none-any.whl

Download URL mcpscraper_memory_sdk-0.46.0-py3-none-any.whl
Size 545.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8e37baf13292ce112a63d1c48010eb4db6214b4756ba70ec49bd29dd136ca5c
BLAKE2b-256 checksum
How to use checksums
e2de272974489e557ab28eae5eefca9031d665a923fbc42e62ea9b2a72432851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.46.1

2 release files

This release

0.46.0 This release

2 release files

0.45.1

2 release files

0.45.0

2 release files

0.44.0

2 release files

0.43.0

2 release files

0.42.0

2 release files

0.41.0

2 release files

0.40.0

2 release files

0.32.0

2 release files

0.31.1

2 release files

0.30.0

2 release files

0.29.0

2 release files

0.28.9

2 release files

0.28.7

2 release files

0.28.6

2 release files

0.28.5

2 release files

0.28.4

2 release files

0.28.3

2 release files

0.28.2

2 release files

0.28.1

2 release files

0.28.0

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.3

2 release files

0.25.2

2 release files

0.25.1

2 release files

0.25.0

2 release files

0.21.0

2 release files

0.19.0

2 release files

0.13.1

2 release files

0.13.0

2 release files

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