Skip to main content

IndieML

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

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

Built distribution (wheel)

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

Total release size: 71.3 kB

Release files / indieml-0.1.5.tar.gz

Download URL indieml-0.1.5.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3db38dc6650b9adb2dd16d1d57b79efe5d45ce1e92bef32460a6efca241724db
BLAKE2b-256 checksum
How to use checksums
5c37ad8545a7ca1dbaf85022dc11c32e6ef6b162f6602d6a326a18a759f6ec3f
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 17, 2026.

Transparency log

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

Download URL indieml-0.1.5-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
878aacb13fa898d60a855755399a518eaa0a705f591f5aff7873fbebb171ddc5
BLAKE2b-256 checksum
How to use checksums
53b6913f34074a6dacecafa5c2065f3ebf023fb2057faab8fb7d760013fa1245
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 17, 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

0.1.6

2 release files

This release

0.1.5 This release

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