fmind
Read Médéric Hurier's (Fmind) portfolio from the terminal.
uvx fmind whoami
Why it stays small
Every command renders a document the website already publishes — the portfolio at /api/profile and, for fmind read, the Markdown source of an article at /articles/<slug>.md. Those are the same sources behind the site, the Atom feed, llms.txt and the MCP server.
This package carries no copy of the portfolio and needs no release for content updates: new articles, a renewed certification or a new engagement appear on the next run. Removing or changing fields that the CLI renders can require a client update; the live compatibility workflow detects those breaks.
Every command fetches from the website and asks HTTP caches to revalidate. There is no local cache and no --refresh option. Each portfolio download has a 15-second total deadline, including connection setup and response reading, and an 8 MiB response limit. An internet connection is required: if the website cannot be read, the command reports an error instead of showing stale information.
Commands
| Command | Shows |
|---|---|
fmind |
The whoami card and a pointer to --help |
fmind whoami |
Name, featured experience, availability, contact |
fmind about |
The biography |
fmind skills |
Core expertise, as published on the site |
fmind experiences |
Engagements in website order |
fmind community |
Ambassador and advisory roles |
fmind certifications |
Certifications, the PhD, specializations |
fmind papers |
The doctorate and the peer-reviewed publications |
fmind projects [--limit 6] |
Open-source repositories and video series |
fmind sites |
Interactive tools published alongside the writing |
fmind articles [--limit 6] |
The most recent writing |
fmind search [query] [--tag] [--limit 10] |
Articles matching every term, newest first |
fmind read <slug> [--raw] |
One article, rendered in the terminal |
fmind hire |
What can be booked right now |
The commands group sections of the website's profile API. Their names stay stable when the website's navigation or visual design changes.
--limit bounds articles and search results, and each project list (repositories and video series); --json prints a command's data instead of prose; --raw prints an article's Markdown source. Search also accepts --tag. Use --json and jq for other filtering.
--json works before or after the command: both fmind --json experiences and fmind experiences --json print the raw website section. Global --color / --no-color and --version go before the command. Colour is detected automatically, including NO_COLOR and redirected output. Use fmind --help or fmind <command> --help for options.
Output uses your terminal's default text colour and blue accent. Community roles and credentials use stacked entries with their published links, so they remain readable in narrow terminals. Links are never folded, so they stay copyable, and terminals that support OSC 8 hyperlinks make them clickable. Redirected output carries no trailing whitespace.
Reading
fmind search matches titles, summaries, tags and slugs; terms are ANDed, so each extra word narrows the result. --tag restricts to one of the site's own tags, case-insensitively; an unknown tag fails and lists the published ones.
fmind search "agent security"
fmind search --tag MLOps --limit 3
fmind read takes a slug, or enough of one to be unambiguous, and prints the article. In an interactive terminal it pages through $PAGER (default less, with LESS=FRX unless you set LESS), so short articles print directly; PAGER=cat disables paging. If the selected pager cannot start or exits unsuccessfully, the command reports an error; retry with PAGER=cat. Use --raw for the Markdown source.
slug="$(fmind articles --limit 1 --json | jq -r '.[0].slug')"
fmind read "$slug"
fmind read "$slug" --raw | glow -
Piping
--json turns every command into a data source, so the portfolio composes with the rest of the shell. JSON goes to stdout without colour or prose; errors go to stderr. With read --raw --json, JSON takes precedence and includes the Markdown in its markdown field.
fmind articles --limit 20 --json | jq -r '.[] | "\(.date[:10]) \(.title)"'
fmind search agent --json | jq -r '.[].url'
fmind certifications --json | jq -r '.certifications[] | select(.active) | .title'
whoami --json includes metadata, experience (a list containing the featured engagement, or an empty list), and services. certifications --json includes certifications, thesis, and specializations. projects --json includes open_source and youtube_series, each keeping the website's fields and bounded by --limit.
Migration to 2.0.0: projects --json now returns an object instead of one mixed array; change filters from .[] to .open_source[] or .youtube_series[]. --limit now bounds each list, so video series are no longer crowded out by repositories.
Migration to 1.0.0: certifications --json now returns an object instead of an array; change credential filters from .[] to .certifications[]. The experience field in whoami --json is additive. Update existing scripts before upgrading from 0.2.0.
Install
uvx fmind whoami # zero install
uv tool install fmind # persistent
pipx install fmind # alternative
Point it at another origin with FMIND_PROFILE_URL — useful against a local mise run watch server of the website:
FMIND_PROFILE_URL=http://127.0.0.1:8080/api/profile fmind whoami
Article reads and the MCP bridge follow the same origin, so one variable moves the whole CLI.
MCP over stdio
Install the optional MCP dependencies and let your agent host launch the bridge:
uv tool install 'fmind[mcp]'
fmind mcp
For a host that accepts JSON configuration:
{
"mcpServers": {
"fmind": {
"command": "uvx",
"args": ["--from", "fmind[mcp]", "fmind", "mcp"]
}
}
}
fmind mcp connects to https://www.fmind.dev/mcp using Streamable HTTP and forwards the website's tools, resources, and prompts over stdio. The website owns their names, schemas, and content. Set FMIND_PROFILE_URL in the host's environment to use /mcp on another website origin. No local data or response cache is used. The website answers MCP POST requests with JSON; GET/HEAD return 405 with Allow: POST because notification streams are not offered. Use /health for uptime probes. Requests have a 15-second deadline and remote HTTP responses are limited to 8 MiB.
Stdout carries only MCP messages; startup errors go to stderr. Portfolio output flags such as --json do not apply to mcp. The bridge forwards read-only request/response operations; subscriptions and server-initiated sampling or elicitation are not advertised.
From this checkout, run uv run --extra mcp fmind mcp. The optional extra uses the official MCP Python SDK; ordinary portfolio commands still need only Typer and Rich.
Development
mise install # install the pinned toolchain
mise run install # sync the locked environment and install hooks
mise run format # ruff imports and format, dprint
mise run check # ruff, ty, actionlint, zizmor, gitleaks, dependency audit
mise run test # offline pytest with branch coverage
mise run smoke # exercise every command against the live site
mise run all # format, check, test, build — the gate CI runs
The pre-commit hook runs checks without changing or staging files; run mise run format before committing. The pre-push hook runs the offline tests. CI runs the full gate on the pinned Python, tests Python 3.11–3.13 for compatibility, and tests the declared dependency floors with --resolution lowest-direct on Python 3.11.
A release tag must match the version in pyproject.toml (for example, v0.1.0). CD runs the same full gate for that tag and checks the live commands before publishing through PyPI Trusted Publishing. The live smoke check is a release check, not a pull-request gate.
Website compatibility
The Website compatibility GitHub Actions workflow runs mise run smoke daily at 06:23 UTC, on pushes to main, and on manual dispatch. Failed runs use normal GitHub Actions notifications; no issue bot or extra service is needed. The offline CI gate stays independent of website availability.
The same check exercises every portfolio command in text and both JSON option positions, reads the newest article as Markdown, and launches the real MCP stdio bridge. It discovers the remote tools, resources, templates, and prompts; calls every advertised read-only tool, including article reading with a live slug and the hosting calculator with its defaults; reads resources; and retrieves prompts. The SDK validates tool results against the website's current schemas, and the profile resource is checked against the CLI's rendering contract. API and MCP failures are reported independently. Checks use live data, not snapshots of portfolio facts.
After a website deployment, run mise run smoke locally or dispatch the workflow:
gh workflow run compatibility.yml --repo fmind/cli
A failure indicates either an outage or a contract change; inspect the failing operation in the run log. Keep PROFILE_SHAPE limited to consumed fields and update synthetic fixtures alongside rendering changes. New MCP tools with required inputs may need a sample argument in the smoke check. No release is needed merely to add content or an unused API field.
Commands exit with 0 on success, 1 for website or article-resolution failures, and 2 for invalid CLI usage.
License
MIT — © 2026 Médéric Hurier (Fmind).
Release files for fmind 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fmind-2.0.2.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fmind-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.0 kB
Release files / fmind-2.0.2.tar.gz
| Download URL | fmind-2.0.2.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad358af2007d5552028f4a0b4e7f810523ffc82fd1201836b5ebb0eecab188e4
|
|
BLAKE2b-256 checksum How to use checksums |
a5334531309e0205056b71a122544ca07756b7951a762b573d4813706320c280
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / fmind-2.0.2-py3-none-any.whl
| Download URL | fmind-2.0.2-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
462cb821333d4d4bdcad4a4966d8f31cb46dea30984a279127cfc80e6510920f
|
|
BLAKE2b-256 checksum How to use checksums |
ea1db3e3c7f9eee508bb004341d941492858799a54853aa9d9f3e904accd58c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log