I built two MCP servers for my own use: ecoledirecte-mcp for my kids' grades and homework, ffe-mcp for chess tournaments sanctioned by the French Chess Federation (FFE).

The problem it solves#

Neither site exposes a public API. EcoleDirecte has an app and a website, full stop: to know whether my kids have homework due tomorrow, I have to open the site, log in, navigate to the assignment book. Nothing that fits into a conversation with Claude where I'm already looking at my week's schedule.

For chess, I already had a skill that searches tournaments via WebFetch directly against the FFE site. It worked, with a limitation documented right in the skill itself: the site's classic ASP.NET pagination and JavaScript postback filters aren't something a plain fetch can drive, so only the first batch of results per department ever came back. A dedicated server, with its own identified endpoints and its own parsers, closes that gap properly instead of half-working around it on every call.

Why an MCP server rather than a skill or a script#

A skill encodes a behavior, an MCP server encodes access to an external system: I go into that distinction in the article on MCP. What this post covers is what it actually takes to build that second kind of building block yourself, when the well-documented public API you'd rather call simply doesn't exist.

What each server exposes#

EcoleDirecte assignment book with student, school, and teacher names anonymized

A real capture of the interface, with the student's, school's, parent's and teacher's names swapped for fictitious ones before the screenshot was taken. This is the page consulter_devoirs reads on my behalf.

ecoledirecte-mcp (account credentials required, read from a local .env, never sent anywhere else):

ToolDescription
lister_elevesLists the students linked to the account
consulter_notesA student's grades by subject and period
consulter_devoirsA student's assignment book
consulter_absencesA student's absences, lateness, sanctions
consulter_messagesMessages received in the account's inbox

ffe-mcp (public data, no credentials required):

ToolDescription
rechercher_joueurSearches a player by name, returns FFE number and rating
lister_tournoisSanctioned tournaments for a given department
details_tournoiTime control, number of rounds, announcement for a tournament
classement_tournoiStandings after the last round published by the organizer
resultats_joueur_tournoiA player's round-by-round results in a tournament

List of FFE-sanctioned chess tournaments in the Hauts-de-Seine department, on echecs.asso.fr

Public data this time, no anonymization needed: the page lister_tournois parses for department 92.

How they're built#

Both projects share the same three-layer architecture:

  • src/domain/: business types and interfaces (ports), zero dependency on the source API or site
  • src/infrastructure/: the adapter that speaks the source's raw format (HTTP requests for one, HTML parsing for the other), backed by a file cache that acts as a safety net
  • src/mcp/: the tools exposed to Claude, which orchestrate the live fetch and the fallback to cache

That isolation has one purpose: the day EcoleDirecte changes its login protocol, or the FFE tweaks a results page's layout, exactly one file needs to change. The tools exposed to Claude don't move.

Note

Both run locally only, over @modelcontextprotocol/sdk in stdio transport: no HTTP server exposed, no deployment, no network port to secure. Any family who wants to use one clones the repo and runs it at home, with their own credentials for ecoledirecte-mcp, no credentials at all for ffe-mcp.

How to use them#

For ecoledirecte-mcp, a CLI wizard writes the config file outside the project directory, so it stays stable even when installed via npx:

bash
npx ecoledirecte-mcp-init
claude mcp add ecoledirecte -- npx -y ecoledirecte-mcp

For ffe-mcp, no credentials to provide since the data is public:

bash
git clone https://github.com/riadh-mnasri/ffe-mcp.git
cd ffe-mcp && npm install && npm run build
claude mcp add ffe -- node /path/to/ffe-mcp/dist/index.js

Both also work with Claude Desktop, by adding the equivalent entry to claude_desktop_config.json.

In actual use, it looks like this (student's first name swapped for a fictitious one):

Claude reads EcoleDirecte messages through ecoledirecte-mcp and turns them into a table of expected actions for the week

Claude queries ffe-mcp to list upcoming rapid chess tournaments in Île-de-France

Sharing without becoming a service#

Both projects are MIT licensed, with no account to create and no central database: it's not a service you connect to, it's a program each family clones and runs at home. For ecoledirecte-mcp specifically, that choice isn't just an architectural preference, it's what removes the need to carry the responsibility of storing someone else's school data: there is no "someone else", each family hosts their own.

ClaudestdioLocal MCP serverdomain / infrastructure / mcpSource (API / HTML)Local cachefallback on failure, "stale" flag

What this generalizes to#

This generalizes to any tool built against a site with no official API.

Always check the protocol against an actually captured request, never guess it from docs or an assumption.

Put all the code that talks to the site in a single file, separate from the rest of the program: that's the file that will break if the site changes, and the only one to fix.

And instead of failing outright when the site is down, keep the last data you fetched, along with the date you fetched it.

Both servers' code is public: ecoledirecte-mcp and ffe-mcp.