Message-api has no items, blocks or commands of its own. You usually end up with it because another Fabric mod lists it as a requirement. That mod uses Message-api to send its chat and system messages, with colors, placeholders and support for more than one language.
How to tell if you need it
1. Read the description or requirements of each mod on your server. If any of them lists Message-api, keep it installed.
2. If nothing on your server depends on it, it does nothing on its own. You can safely leave it out.
3. Look in your config folder. A mod that uses Message-api may create a folder named after its mod id, holding language files such as en_us.json. That folder is a strong sign the mod relies on Message-api.
Client or server?
Message-api works on the server side only. Put it in the mods folder of your server, along with the mod that needs it. Players who join do not need it in their own client to see the messages. The server builds the text and sends it to them like any normal chat message.
Do not forget PlaceholderAPI. Message-api does not include PlaceholderAPI inside it. It needs PlaceholderAPI installed next to it in the same mods folder, because that is what reads the message text and applies colors and placeholders. If Message-api is present but PlaceholderAPI is missing, Fabric will normally refuse to start. It shows a missing dependency error that names the absent mod.