io.github.ezchx/indieml
Enables integration with OpenAI function calling, allowing the Substance API to be invoked as a function within OpenAI workflows to score text for substance, depth, and clarity.
Integrates with Salesforce to evaluate customer tickets/cases for actionable detail, helping route zero-context inquiries and surface high-information cases to human agents.
Integrates with Zendesk to evaluate customer tickets for actionable detail, helping route zero-context inquiries and surface high-information cases to human agents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.ezchx/indiemltriage these support tickets by substance and clarity"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 REST API, Python SDK, and MCP configuration details to natively connect the hosted Substance API to a wide variety of applications. For more information, including API key requests, please visit IndieML.
REST API
For integrations outside the Python and MCP ecosystems (such as standard OpenAI function calling, custom AI scripts, or raw HTTP requests), the hosted endpoint accepts standard JSON payload requests.
cURL
curl -X POST https://indieml.app/v1/score/substance \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"input_text": "This is a test run."}'Python (Requests)
import requests
response = requests.post(
"https://indieml.app/v1/score/substance",
headers={"X-API-Key": "YOUR_API_KEY_HERE"},
json={"input_text": "This is a test run."}
)
print(response.json())Node.js (Fetch)
const response = await fetch("https://indieml.app/v1/score/substance", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY_HERE",
"Content-Type": "application/json"
},
body: JSON.stringify({ input_text: "This is a test run." })
});
console.log(await response.json());Related MCP server: Onto MCP Server
Python SDK
Installation (requires Python 3.11 or higher)
pip install indiemlUsage
from indieml import Substance
# Initialize the API
api = Substance(api_key="YOUR_API_KEY_HERE")
# Evaluate text for substance, depth, and clarity
result = api.score("This is a test run.")
print(result)MCP Server Integration
You can integrate the Substance API into AI coding assistants by routing them to our cloud-native ASGI endpoints.
Cursor, ChatGPT, and Claude Code (Streamable HTTP)
For agents that support native Streamable HTTP / SSE configurations, provide the remote URL and authorization header directly:
{
"mcpServers": {
"indieml": {
"type": "http",
"url": "https://indieml.app/mcp/",
"headers": {
"X-API-Key": "YOUR_API_KEY_HERE"
}
}
}
}Claude Desktop (stdio via npx Bridge)
For local Linux, Mac, and Windows clients that require stdio transport, use the npx mcp-remote bridge to route the connection to the cloud endpoint. Node.js v20+ is required. Ensure your OS environment variables include INDIEML_API_KEY.
{
"mcpServers": {
"indieml": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://indieml.app/mcp/",
"--header",
"X-Api-Key:${INDIEML_API_KEY}"
],
"env": {
"INDIEML_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Applications & Use Cases
The Substance API is a fast and inexpensive pre-screening tool designed to integrate with your existing filters.
While it evaluates substance across any text, it is uniquely suited for high-volume, automated data pipelines:
1. CRM & Support Triage
Score inbound support tickets, emails, and lead forms based on information density before an agent sees the record. Automatically trigger follow-up emails for vague, one-line inquiries like "my login is broken," while routing detailed tickets containing error logs and reproduction steps to human agents.
Salesforce Integration Guide
Zendesk Integration Guide
2. Real-Time Form & Input Coaching
Prevent low-context submissions before they ever enter your database. IndieML can run inside web forms, bug reporters, and marketplace listings prompting users to add missing details so your team receives actionable data without having to circle back to the user.
3. Product Feedback & Review Triage
Separate actionable bug reports and architectural critiques from zero-context "great app" or "it's broken" ratings. IndieML evaluates survey responses and app reviews on submission, routing detailed descriptions of workflow bottlenecks or reproducible bugs directly to Jira, Linear, or Slack while filtering out generic feedback.
4. Agent & LLM Context Filtering
Autonomous agents routinely pull noisy web scrapes and bloated tool outputs into their context windows, wasting tokens and degrading accuracy. Sitting inline as a sub-25ms pre-filter, IndieML strips low-substance text segments from the prompt payload before you make an expensive LLM call.
5. RAG & Dataset Gatekeeping
Standard RAG pipelines embed entire documents, filling vector databases with navigation menus, boilerplate disclaimers, and shallow stub articles. IndieML scores and filters text before it is submitted to an expensive model to reduce costs and improve data quality.
6. Dataset Curation & Stream Filtering
Filter fine-tuning data, scraped web text, or live social streams without paying LLM-as-a-judge compute costs. IndieML evaluates text segments to strip generic filler and low-effort comments—curating high-density JSONL training sets and powering real-time, high-signal feeds.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Pay-per-call AI evaluation MCP server. Score LLM outputs against benchmark rubrics via Workers AI.
Free public web freshness and response-metadata checks for AI agents.
Calibrated judgments for text: yes/no probabilities, picks from your options, or scores.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP-style stdio server for evaluating AI agent outputs, enabling CI-friendly quality gates, regression comparisons, and canary promotion decisions.3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to read clean Markdown from any URL and assess source quality with AI-readability scores.623 npm1MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI agents with honest benchmark rankings (Agentic Memory Index and Agentic Search Index) for AI tools, plus graded checks and telemetry for x402 endpoints.4 npmMIT
- FlicenseNot gradedqualityBmaintenanceAI-powered text formatting and summarization tools for development workflows. Zero-install Streamable HTTP transport — no binary, no npm required.-