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

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.3
File Size Uploaded
mvr_api_client-6.32.3.tar.gz 15.4 kB Details

Built distribution (wheel)

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

Total release size: 26.1 kB

Release files / mvr_api_client-6.32.3.tar.gz

Download URL mvr_api_client-6.32.3.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
43a82a9b1649961c44d5a973043eb64f67509abcf98b76a2c892520f267f4da3
BLAKE2b-256 checksum
How to use checksums
875215e7fccb3832c8efd1e08c033ca482ba7b395239b1ef27d32441f3af863c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 28, 2026.

Transparency log

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

Download URL mvr_api_client-6.32.3-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc89c1e3c249b449f6a5055996b602d8bafad8274cf9090972036994c3abcc70
BLAKE2b-256 checksum
How to use checksums
48911fce38c79480a7a9dc9bab193e097c7da1390a1d33f77f14cce3bf781d72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 28, 2026.

Transparency log

Release history Release notifications | RSS feed

6.32.4

2 release files

This release

6.32.3 This release

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