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

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.7
File Size Uploaded
indieml-0.1.7.tar.gz 65.8 kB Details

Built distribution (wheel)

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

Total release size: 71.2 kB

Release files / indieml-0.1.7.tar.gz

Download URL indieml-0.1.7.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ffd9d3e090bc5ba1bd9cc39a861689f25f413420199ddcc102120219b2be7a0e
BLAKE2b-256 checksum
How to use checksums
b7a7de280dc61581e6e83c6f9ca9a22f1021dae2fb3d85960d4d750fc2671967
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.7-py3-none-any.whl

Download URL indieml-0.1.7-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ded9455a93d6cbe5b3cf8d732d13a76dd7a3ce0554e4c7ac2502d9cf44126117
BLAKE2b-256 checksum
How to use checksums
5c30cab9abd854d47b40a37734c52b7acff73ea734b30ba1cfda32cff020ef49
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

This release

0.1.7 This release

2 release files

0.1.6

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