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

Built distribution (wheel)

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

Total release size: 71.3 kB

Release files / indieml-0.1.3.tar.gz

Download URL indieml-0.1.3.tar.gz
Size 65.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d4f3dc0199de9b943b4b63a68a2ffadf617060bb0497434b28806a0d2e3ce16d
BLAKE2b-256 checksum
How to use checksums
5685f9aa8cfd9ee7dd514d381d7c846741d82419e25f78a557607d50391c3e94
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.3-py3-none-any.whl

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

0.1.5

2 release files

This release

0.1.3 This release

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