The filing fees and costs associated with filing a Massachusetts mechanics lien can vary county by county. So, it's hard to say exactly what it will cost to file a Maine mechanics lien - but reaching out to the relevant county recorder's office (in the county where the work was performed) should help.
If you're wondering about the cost of filing a mechanics lien through the Levelset platform, you can learn more about that here: Create a Document.
For more background on filing Mechanics liens in Maine: How to File a Maine Mechanics Lien A Practical Guide.