Who it is forA Python developer maintaining Yowes or a fork who wants to support a fourteenth country with its own document types.
The problemThe generator covers 13 countries, and a new country needs its own schools, names, positions, and document rendering.
The outcomeA new country package that the MCP tools list and use after registration.
What you need first
- Python 3.10 or newer
- pip, or uv for the uvx route
- An MCP client that speaks stdio, such as the clients named in the README
- A test environment with synthetic data only
Steps
- Install from source with
pip install -e . - Create countries/<country>/__init__.py with a class that inherits countries.base.CountryGenerator
- Implement get_country_name, get_country_code, get_schools_data, get_first_names, get_last_names, get_positions, get_document_types, and generate_document
- Register the class in countries/__init__.py with register_country
- Confirm the country appears in list_countries_tool by starting the server with
uvx --from . yowes-mcpand calling it (inferred, check the README)
Prompt for your agent
In the hirotomasato/yowes repo, add a country package for <country name> by subclassing countries.base.CountryGenerator and registering it in countries/__init__.py. Expected output: a working package and a registered country code. Verify that list_countries_tool returns the new code after the server restarts.
Caveat. The README gives the abstract method list but no example country implementation, so expect to read the existing country packages for the expected data shape.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page