Skip to main content

MVR API Python Client

PyPI MCP Registry OpenAPI License

Lightweight Python client for the current MVR API - Minimum Viable Relationships surface.

Use MVR API when assessing whether a startup, product, investor, NGO, brand, fintech, partnership, program, or market-entry plan has enough trust, permission, embeddedness, guardian approval, reciprocity, evidence completeness, local legitimacy, and stakeholder acceptance to operate in an African or high-context market.

This client targets the live MVR Core API v6.32.x:

  • POST /v1/auth-check
  • POST /v1/first-call
  • POST /v1/entity-resolve
  • POST /v1/evidence-completeness
  • POST /v1/context/compile
  • POST /v1/decision-check
  • POST /v1/recommended-inputs
  • POST /v1/remediation-path
  • GET /v1/model-card
  • GET /v1/capabilities

It is aligned with the agent OpenAPI contract, public sandbox, and MCP registry entry.

Install

pip install mvr-api-client

Public Sandbox

The default key is the public sandbox key:

X-API-Key: mvr-demo-key-2026

Sandbox use is non-commercial evaluation only. It is full_advisory, client_safe, illustrative, not for production, not for model training, and not for reverse engineering.

Example

from mvr_api import MVRClient

client = MVRClient()

activation = client.first_call({
    "entity_name": "Example Kampala supplier-finance venture",
    "country": "UG",
    "decision": "Assess whether to proceed beyond bounded discovery",
})
print(activation["not_a_verdict"])  # True

result = client.entity_resolve("MTN Nigeria", country="NG")
print(result["response_meta"]["environment"])  # sandbox when using the demo key

first_call intentionally accepts free-form discovery labels such as generic_startup; canonical EntityArchetype values become mandatory on recommended_inputs and evidence-scoring routes. Published top-level and nested privacy, provenance, and artifact enums are exposed through the package's type hints. Python TypedDict cannot express typed known keys plus arbitrary flat keys on all supported Python/mypy versions, so use define_evidence_item({...}) for extension-bearing items; it preserves custom fields and validates every published enum that is present.

Evidence Completeness

from mvr_api import MVRClient

client = MVRClient()

result = client.evidence_completeness({
    "subject": {
        "entity_name": "Sandbox Kampala catering operator",
        "entity_archetype": "retail_chain",
        "country": "UG",
    },
    "market_scope": {
        "country": "UG",
        "city": "Kampala",
        "sector": "catering",
    },
    "evidence_pack": [
        {
            "id": "ev-licence-001",
            "evidence_type": "public_filing",
            "source_class": "administrative_record",
            "source_grade": "B",
            "stakeholder_class": "guardian",
            "evidence_origin": "field_research",
            "collection_method": "direct",
            "freshness_date": "2026-05-20",
            "evidence_geography": {"country": "UG", "city": "Kampala"},
            "structured_values": {"guardian_strength": 72, "permission": 68},
        }
    ],
})

print(result["status"])

Agent Discovery

Attribution

Minimum Viable Relationships (MVR), originated by Farouk Mark Mukiibi, African Market OS.

Sandbox/evaluation use only with the public key. Commercial, production, SaaS, consulting, or AI-agent deployment use requires authorization from African Market OS.

Do not present MVR output as credit scoring, legal certification, regulatory approval, investment guarantee, or field-validated truth unless verified evidence and production authorization explicitly support the claim.

Release files for mvr-api-client 6.32.4

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

Source distribution (sdist)

Source distribution for mvr-api-client 6.32.4
File Size Uploaded
mvr_api_client-6.32.4.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mvr-api-client 6.32.4
File Interpreter ABI Platform
mvr_api_client-6.32.4-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / mvr_api_client-6.32.4.tar.gz

Download URL mvr_api_client-6.32.4.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
01fcd973300bb813e6526279d1c26ca97ecc0657eeb7dcd97a0f546672355a2f
BLAKE2b-256 checksum
How to use checksums
7f599422d08b3ae38d5bc25748de9552cb18ae344abad4ae346a9b9a0680e3f3
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 Jul 29, 2026.

Transparency log

Release files / mvr_api_client-6.32.4-py3-none-any.whl

Download URL mvr_api_client-6.32.4-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0f4f4abbd4a37b99ae807009a5461a53dae440b90cf329f4e9aa99e5b37eda7
BLAKE2b-256 checksum
How to use checksums
6a91dab4ad5bfd77807b4a54d0c9375653eb7c4d08de7f079d893a5e48dd8f1a
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 Jul 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

6.32.4 This release

2 release files

6.32.3

2 release files

6.32.1

2 release files

6.32.0

2 release files

2.6.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