Developer & AI Agent Documentation

CompositeMatrix™ API & Model Context Protocol (MCP) Docs

Programmatic access to 152+ normalized ASTM D638 / D648 / D790 composite materials, 9 industrial category matrices, stoichiometric curative rules, and autonomous B2B RFQ routing. All read endpoints are public and require no API key.

1. Quick Discovery Endpoints for AI Agents & LLMs

ResourceURLFormat / Protocol
OpenAPI 3.1 Schema/api/v1/openapi.jsonJSON (OpenAPI 3.1.0)
Public Materials REST API/api/v1/materialsREST GET (JSON)
Model Context Protocol (MCP) Server/mcp (Setup Guide) • /api/mcpJSON-RPC 2.0 (Streamable HTTP / stdio)
LLM Index (`llms.txt`)/llms.txtMarkdown / Plain Text
Full 152-SKU ASTM Corpus (`llms-full.txt`)/llms-full.txtMarkdown Corpus

2. REST API Example: Query Normalized ASTM Materials

Endpoint: GET https://compositematrix.com/api/v1/materials (Operation ID: queryAstmCompositeMaterials)

curl -sS "https://compositematrix.com/api/v1/materials?q=vinyl+ester&min_hdt_c=100" | jq .

3. Model Context Protocol (MCP) Server Integration

Connect Claude Desktop, Cursor, or any MCP host directly to https://compositematrix.com/api/mcp:

curl -sS -X POST https://compositematrix.com/api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'