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)
| File | Size | Uploaded | |
|---|---|---|---|
| indieml-0.1.5.tar.gz | 65.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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