Skip to main content

IndieML - Substance API

A lightweight, transformer-based API that evaluates text for substance, depth, and clarity in under 25ms while achieving 87% of the accuracy of a full-scale LLM.

This package provides a Python client and Model Context Protocol (MCP) server for the Substance API.

Python SDK

Installation

pip install indieml

Quickstart

from indieml import IndieMLClient

# Initialize the client
client = IndieMLClient(api_key="your_api_key_here")

# Score text using the Substance API
result = client.substance.score("This is a test run.")
print(result)

MCP Server Integration

The indieml package includes a built-in MCP server, allowing AI coding assistants (like Claude Desktop, Cursor, and Zed) to natively access the Substance API.

To configure your AI assistant, add the following to your MCP configuration file. Using uvx ensures the server runs in an isolated environment with all necessary dependencies:

{
  "mcpServers": {
    "indieml": {
      "command": "uvx",
      "args": ["indieml"],
      "env": {
        "INDIEML_API_KEY": "your_api_key"
      }
    }
  }
}

REST API (Non-Python Environments)

For integrations outside the Python and MCP ecosystems (such as standard OpenAI function calling, custom AI scripts, or raw HTTP requests), IndieML provides a standard REST API.

View the full cURL documentation and REST implementation guide at indieml.app.

Metadata

Release files for indieml 0.1.6

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

Source distribution (sdist)

Source distribution for indieml 0.1.6
File Size Uploaded
indieml-0.1.6.tar.gz 65.8 kB Details

Built distribution (wheel)

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

Total release size: 71.2 kB

Release files / indieml-0.1.6.tar.gz

Download URL indieml-0.1.6.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4f01a110bf902d755f249c012e7cb8836230f98f7bfda6dbc349d78a78ff6056
BLAKE2b-256 checksum
How to use checksums
793646199e40af25c42081cb85cf3616207d853a1cd1ab78aa92cc7cd375da73
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 Sep 18, 2026.

Transparency log

Release files / indieml-0.1.6-py3-none-any.whl

Download URL indieml-0.1.6-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1189b550792d9b7df875c46a5b3fc520212e04ee3a444fa54985f9d1a208a08
BLAKE2b-256 checksum
How to use checksums
bfb5303fd7384bba80b38e876d63b56316e8dee737114e15203cf4701f6a28f4
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 Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.14

2 release files

0.1.13

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

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