Documentation

Project overview

Compowiki is an engineering calculation model library for materials research and development. It turns material parameters, formulas, and applicability conditions from the literature into computable, traceable forms for researchers and AI agents to call. It is initiated and maintained jointly by researchers in data science and materials science.

Compo comes from composite, with the extended sense of "a composite of the intersecting domains of materials, data, and computing science." Wiki denotes a collection written and continuously revised by its participants. Compowiki is thus a computable, traceable body of knowledge within materials science, covering material systems such as fibers, resins, metals, ceramics, and polymers (not limited to composites).

AI is a tool built on computing and data science that serves people, and it should not be treated as something sacred. Tools extend the reach of human capability without taking over judgment: a telescope lets a person see farther, while what to look at and how to see it remain human decisions. The output of a large language model is essentially the product of statistical learning and retrieval computation: it samples word by word conditional on the context, the result is probabilistic—the same input does not guarantee the same output—and there is no built-in traceability to its sources. It can organize language, but it cannot judge truth on its own; fluency and correctness have no necessary connection. Large language models are already relatively mature at reading literature and organizing information, while accuracy in material prediction still needs improvement.

Verifiability is therefore where the value of this project lies: calculations follow one consistent basis, so values from different projects can be compared and reused; conclusions should withstand independent checking and falsification.

This project studies the intersection of materials science, data science, and large language models, organizing parameters and formulas scattered in the literature into executable calculation models. The three have distinct roles: materials science supplies the problems, criteria, and validation standards; data science supplies methods for organization, verification, and versioning; large language models provide natural-language interfaces and process automation. The aim is a calculation infrastructure open to independent checking—every input carries a dimensional definition, formulas are public, every value traces back to the DOI of a specific reference, unit conversion and dimensional checks are built into the calculation, and scope and failure boundaries are stated item by item.

Collaboration follows a peer-review mechanism: Partners raise objections on specific models, formulas, parameters, and references; the maintainers handle re-checking, revision, and version records; and every accepted correction enters the public revision record. Reliability does not come from claims, but from continuous public criticism and revision. All research results are open for free use. We hope to help researchers carry out materials research conveniently with AI and, with professional expertise from materials science, to establish a review and feedback mechanism for the model library, keep revising formulas and parameters—advancing materials science together.

Quick start

Compowiki provides its service over MCP; clients connect via HTTP. The free channel and the Partner channel are configured separately as follows.

  1. Free integration

    Add the following snippet to the client's MCP configuration, save it, and reload the client.

    JSON
    {
      "mcpServers": {
        "compowiki": {
          "type": "http",
          "url": "https://open.compo.wiki/mcp"
        }
      }
    }
  2. Partner integration

    Partners add the following to their configuration, filling X-API-Key with their own access credential, then save and reload the client.

    JSON
    {
      "mcpServers": {
        "compowiki": {
          "type": "http",
          "url": "https://partner.compo.wiki/mcp",
          "headers": {
            "X-API-Key": "Enter your access credential here"
          }
        }
      }
    }
  3. List models

    Call cw_list_models to get currently available models, returning ID, name, inputs, and outputs. The model list changes with releases; fetch it before calling rather than hardcoding it.

  4. Read specifications

    Use cw_get_model to read the input table, formulas, and applicability boundaries of a specified model, and confirm input symbols, units, and value ranges.

  5. Submit calculations

    Use cw_compute, passing the model ID and inputs, to get values, units, substitution steps, applicability boundaries, and DOI.

Free use

The project provides a free access channel to all researchers working with materials, and charges no fee.

The free channel connects directly to https://open.compo.wiki/mcp with no access credential.

Free use carries no obligation and is not conditional on providing research content.

Become a Partner

Partner is open to researchers, engineers, and project teams who take part in model review and related project work.

Application and review

Applicants are not limited by type: researchers, research groups, and project teams in materials science may apply. Application and use are free of charge. The application states the models and the intended use, and names one contact person for routine feedback and credential management. Review considers whether the intended use fits, whether the required models cover the applicant's material systems, and whether the Partner channel currently has spare capacity, among other factors. The outcome is independent of the applicant type, affiliation, and its size. The number of places follows server capacity and is not announced in advance. Where capacity is short or the models do not yet cover the required material systems, the application is held; once capacity becomes available or a model update covers that need, notice is sent by email.

Apply as a Partner

Partner rights

  • Separate computing channel: partners use a dedicated endpoint and access credential, metered and rate-limited apart from the free channel, so fluctuations in free traffic never enter partner counts.
  • Dedicated computing share: the application-layer rate and concurrency slots are reserved for partners alone; free traffic uses the remainder and cannot take this share even at peak hours.
  • Capacity assurance: computing resources are provisioned according to actual partner load, batch and chained work is served first, and partner-side capacity is expanded first when the load approaches the limit.
  • Batch calculation: several tasks are submitted in one call, executed independently, and returned as one set of results.
  • Chained calculation: the output of an earlier task can serve as the input of a later one, so several steps run within one call.
  • Calculation card: a reproducible page is generated on request, holding inputs, substitution steps, results, and DOIs; card generation is counted together with the calculation quota.
  • Result retrieval: batch results are paged per job and kept longer than on the free channel.
  • Repeated submission: requests carrying the same Idempotency-Key are counted once, so network retries do not consume extra quota.
  • Quota feedback: responses carry the remaining quota, the counting window, and a suggested retry interval.
  • Corrections and revisions: a question may be raised on a model, equation, parameter, or DOI, and accepted corrections enter the revision record.

How collaboration works

Collaboration works on specific objects: a model, a formula, a parameter, or a DOI. To raise a question, state the model ID, the type of issue, and the corresponding DOI; after review and revision the matter is entered in the version log, and accepted corrections enter the public revision record.

The project invites partners to periodic topic-selection surveys that calibrate model coverage, formula assumptions, and applicability limits. Partner status is tied to the access credential: it is cancelled where a partner no longer takes part in review or stops using the channel, on a threshold of 90 consecutive days without a call or without participation in review. Partners who wish to cancel may write at any time; the status is cancelled within 24 hours and the access credential stops working. This is only to free up capacity for the researchers who need it. Partner status can be restored by applying again.

Available calls

Free channel

The free channel provides four calls. All run through JSON-RPC tools/call; parameters and results are structured fields, with no natural-language parsing.

cw_list_models

List all models: ID, name, subject, inputs (symbol, unit, dimension, required), and outputs. No parameters.

cw_get_model

Return the full specification of a model: input table, formulas, applicability boundaries, and references. The required parameter is module_id.

cw_query_params

Query the parameter library: filter by property ID or DOI, returning value, unit, SI value, dimension, DOI, and table:row:column location. Parameters are property, doi, and limit; limit ranges from 1 to 100 and defaults to 10.

cw_compute

Calculate one model per call: pass module_id and inputs; returns value, unit, substitution steps, applicability boundaries, and DOI. Values may be numbers or {"value": number, "unit": "unit"}; enumerated items are given as strings directly.

Partner channel

Partner adds batch submission and result retrieval to the four calls.

cw_compute_batch

Submit a batch: the tasks array carries several tasks in one call, executed in order, and a later task may reference an earlier output with {"$step_output": "symbol"}; the per-call limit is given by the service response. Returns a job_id.

cw_job_get

Retrieve batch results by job_id with paging: offset and limit control the page, and the retention period is given by the service response; an expired job returns an error.

Units and dimensions

Every input and output is labeled with its dimension and default unit. A value may omit the unit, in which case the default unit in the model specification applies; if a unit cannot be recognized or is inconsistent with the target dimension, an error is returned and no conversion fallback is attempted.

  • Consistent dimensions are a precondition for calculation; equivalent units are converted server-side.
  • Effective ranges are interpreted in the units stated in the specification; conversion does not change the applicability range.
  • Outputs always give both value and unit; a bare number is never returned when the unit is missing.

References

Literature parameters carry a DOI and table:row:column location for checking against the original reference. Model specifications disclose formulas, assumptions, and branching conditions. Values without a checkable reference are not returned as literature parameters.

  • References are given as DOI identifiers without external links.
  • Every value carries the DOI of the corresponding reference, and test conditions are returned with the value.
  • Values lacking a checkable source are not included in the parameter library, and no approximate value is substituted.

Version updates

Models are updated when formulas, parameter values, or applicability boundaries are revised; revisions are disclosed with the model specification. The same inputs and the same model under the same revision produce the same results.

Quota and rate limits

Free channel

  • Metering: cumulative per source network IP address, regardless of account; calls from the same egress address are merged.
  • Quota: counted in calculated model entries, one cw_compute call as one; entries not executed are not counted.
  • Rate limit: adjusts automatically to server load with no fixed threshold; when exceeded, E_RATE_LIMIT is returned with retry_after_s, remaining, and window.
  • Concurrency: the number of concurrent requests from one source address is capped; excess follows the rule above.

Partner channel

  • Metering: cumulative per credential, each credential independent.
  • Quota: same as the free channel, counted in calculated model entries; entries not executed are not counted.
  • Rate limit: adjusts automatically to server load and credential tier; when exceeded, E_RATE_LIMIT is returned with retry_after_s, remaining, and window.
  • Concurrency: the number of concurrent requests on one credential is capped; excess follows the rule above.

Abnormal access: automated scanning, spoofed origins, and attempts to evade metering across accounts are identified and restricted.

Error handling

Errors return no values; the structure is {"ok": false, "schema_version": "1", "error": {"code": "error type", "message": "reason"}}. On success the response is {"ok": true, "data": {...}}, where data carries the model ID, name, version, output values, formulas and substitution steps, applicability boundaries, and DOI. Errors about quota and access limits also carry retry_after_s, and name where applicable.

  • MISSING_INPUT: a required input is missing; the calculation was not executed.
  • INVALID_ARGUMENT: a parameter name or format is invalid.
  • BAD_UNIT: the unit cannot be recognized or is inconsistent with the target dimension.
  • OUT_OF_RANGE: the input exceeds the model's applicability range; the calculation is aborted and the boundary stated.
  • UNKNOWN_MODULE: the model ID does not exist or has not been released.
  • E_RATE_LIMIT: the rate limit is exceeded; wait for the returned retry_after_s and retry, while remaining and window give the remaining quota and the counting window.
  • E_ABUSE_FLAGGED: abnormal bulk scanning or source spoofing was detected; access is limited for a period, so wait for retry_after_s.

Security and privacy

This project respects the privacy of every user. Input values and calculation results submitted by users are not written to records; call information is de-identified and used only for quota metering, capacity planning, and service security, never for advertising, profiling, or other commercial purposes.

See Privacy.

Intellectual property

This project respects the rights of authors and publishers. Parameter values are cited to their sources and traceable to specific references; the scope of citation and the limits of use are stated item by item, and rights holders may raise objections on specific content at any time.

See Intellectual property.

Terms of use

This project is dedicated to providing materials researchers with calculation results that can be checked and reused. Formulas are public, the basis is consistent, results can be re-verified, the service is open free of charge, and rule changes are announced in advance.

See Terms of use.

FAQ

Free channel

Where are calculations performed?

On the server; values, units, and step-by-step substitution processes are returned. Formulas and inputs are public, so results can be independently recalculated and checked.

Is there a charge, and is registration required?

No charge. The free channel needs no registration; add the configuration and start calling.

Which clients are supported?

Any client supporting the MCP protocol can connect over HTTP; see Quick start for the endpoint and configuration.

Why is no numeric value returned?

Common causes are a missing required input, an unrecognized unit, inconsistent dimensions, or an input outside the applicable range. The returned error type corresponds to the specific cause; the server does not substitute default values for missing inputs.

What happens if an input is outside the applicable range?

If an input exceeds the model's applicable range, OUT_OF_RANGE is returned, the boundary is stated, and the calculation is aborted; no seemingly normal value is returned.

What if the quota is exceeded?

The service returns E_RATE_LIMIT with retry_after_s, remaining, and window; wait as indicated and retry.

Can units be omitted or converted?

A value may omit the unit, in which case the default unit in the model specification applies; equivalent units are converted server-side; if dimensions are inconsistent, an error is returned with no fallback.

What do the writing conventions in the documentation mean?

The model ID identifies the calculation model; input symbols keep the same name in the specification, the request, and the response.

Can results be used in papers and reports?

Yes. Citing the model ID and the corresponding DOI satisfies the requirement for verification.

After a model is updated, can earlier results still be reproduced?

Yes. The same inputs and the same model under the same revision produce the same result; earlier revisions are archived for checking, and online recomputation is not guaranteed for all of them.

What if an error is found or a model is missing?

Send the model ID, issue type, and corresponding DOI to support@compo.wiki; corrections accepted after review enter the revision record.

Does Compowiki provide material selection or design conclusions?

No. This service provides only formulas, parameter values, and calculation processes; it does not provide material selection, design, or engineering conclusions. Model selection, interpretation of results, and final judgment are the responsibility of the user.

Partner channel

How do I apply for a Partner credential?

Complete the application form with an email address, research area, fields of interest, organization name, and intended collaboration; once approved, the way to obtain the access credential is sent by email, and application and use are free of charge.

How does the Partner channel differ from the free channel?

The free channel is metered per source network address and handles one model per call; Partner uses a separate credential and separate quota, can run batch and chained tasks, and can generate calculation cards.

How do I write batch and chained tasks?

One request can carry multiple tasks; a later task references an earlier output with {"$step_output": "symbol"}.

Do calculation cards need extra quota?

No. Cards have no separate quota and remain subject to calculation quota, generation rate, and the synchronous time limit.

What if an access credential is lost or leaked?

Contact partner@compo.wiki by email to request a replacement; the old credential becomes invalid immediately.