MCP Server is a structured, standards-compliant API for serving metadata, service discovery endpoints, and machine learning content. It's designed to help AI and data science applications discover model context, training artefacts, research notebooks, and statistical methods efficiently.
This server follows the MCP specification and is production-ready, built with clean TypeScript code and a modular design.
📺 Click here to watch on YouTube
.well-known/model-contextfor structured model-level context resolution.well-known/v1.jsonto define a public semantic schema using JSON-LD – this is your@contextdocument, allowing linked data vocab reuse- Service discovery endpoint at
/v1/discovery /v1/contentendpoint to list available ML resources and data science artefacts- Clean Fastify setup using plugin architecture and async route loading
.envsupport for flexible configuration, including versioning and metadata
npm installto install all dependencies.npm run devto start the server in development mode with auto-reload (ts-node-dev).- Copy
.env.distto.envand configure the variables to fit your environment.
npm run start– start the compiled server in normal mode (no hot reload)npm run prod– full production build and run (builds and launches)npm run build– compile TypeScript source code intodist/JavaScript
npm run prettier:check– check formatting issues using Prettiernpm run prettier:fix– auto-format source files
The .env file supports the following values:
APP_PORT=3000
APP_VERSION=1.0.0
MCP_VERSION=1.0.0
MCP_NAME="Data Science Services by Pierre"
MCP_DESCRIPTION="Freelance data scientist providing machine learning models, statistical analysis, and data-driven consulting."
MCP_TAGS="data science,machine learning,statistics,freelance,MCP"
MCP_CONTACT_EMAIL=[email protected]
MCP_CONTACT_WEBSITE=https://ph7.meI regularly share updates, deep dives, and tutorials on building MCP servers and related AI infrastructure on social media:
Feel free to follow along, ask questions, and engage!
A Model Context Protocol (MCP) server is not just another REST API. Rather than simply exposing data, it provides machine-readable context and metadata about your ML services or models—using linked data formats like JSON-LD.
Its core purpose is to expose structured discovery endpoints—typically under .well-known/—which allow AI agents and tooling ecosystems to understand your capabilities without needing human interpretation.
- Purpose: Normal APIs deliver functional data. MCP servers deliver semantic metadata.
- Endpoints: MCP uses
.well-known/model-contextandv1.jsonfor semantic discovery. - Format: All responses are structured as JSON-LD (not plain JSON), enabling interoperability and reuse across systems.
- Consumers: Designed for machines, not people—MCP endpoints target AI agents, search engines, or distributed tools.
Made with ❤️ by Pierre-Henry Soria. A super passionate & enthusiastic Problem-Solver / Senior Software Engineer. Also a true cheese 🧀, ristretto ☕️, and dark chocolate lover! 😋
Distributed under the MIT License 🎉 Happy hacking! 🤠

