Connect in one step
Wire up the Fairspec MCP server in your favorite AI assistant. It ships with the Python, TypeScript and Rust packages — pick the one you have.
Python, TypeScript or Rust
Run it with
uvxfrom the Python package,npxfrom the TypeScript one, or thefairspecbinary from the GitHub releases. Same tools, same names.Your assistant
Claude Desktop, Claude Code, Codex and Gemini CLI each take one command or one config entry.
Runs on your machine
The server is a local process your assistant starts. It reads the files you point it at and fetches only public URLs; set
FAIRSPEC_HOST_POLICY=anyto reach localhost or intranet hosts.Twelve tools
Validate, infer, preview and query data, schemas, dialects, tables and whole datasets.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"fairspec": {
"command": "uvx",
"args": ["fairspec@latest", "mcp"]
}
}
}Tools
Twelve tools organized around core Fairspec concepts: data, data schemas, datasets, files, file dialects, tables, and table schemas.
Validate Data
Infer Data Schema
Validate Data Schema
Infer Dataset
Validate Dataset
Query Dataset
Preview File
Infer File Dialect
Query Table
Validate Table
Infer Table Schema
Validate Table Schema
Files in, a FAIR dataset out
Ask for a dataset and the server describes your files: dialect, schema and integrity, ready to cite and validate.
id,name,joined,score
1,Ada,2024-01-15,91.5
2,Grace,2024-02-03,88.0
3,Linus,2024-03-21,79.25{
"resources": [
{
"data": "members.csv",
"name": "members",
"textual": true,
"integrity": { "type": "sha256", "hash": "67c830fe…108a" },
"fileDialect": {
"format": "csv", "delimiter": ",",
"lineTerminator": "\n", "headerRows": [1]
},
"tableSchema": {
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"joined": { "type": "string", "format": "date" },
"score": { "type": "number" }
}
}
}
]
}Ask in plain language
Just ask in natural language. Try one of these prompts.
- Validate my dataset in the current directory
- Infer the schema for data.csv
- Check if my data schema is valid
- Detect the dialect of measurements.tsv
- Query users.csv for all records where age > 30
- Infer a dataset descriptor from all files in the data folder
- Validate the table schema in schema.json
- Show me the first 10 rows of results.csv sorted by date
Skills pick the tool
The Fairspec agent skills tell your coding agent which tool fits a task and how to read what it returns.
The same operations in the CLI
Every tool has a fairspec command behind it, so a script or CI job can repeat what the assistant did.
Docs agents can read
Every docs page has a Markdown twin, indexed in
/llms.txt.
Ask in plain language. Get FAIR data back.
Pair the server with the agent skills so your coding agent knows when to reach for each tool, or script the same operations from the CLI.