Async Python client for interacting with the Marlo MCP server to access vessel data, voyages, financials, rates, and more.
Configuration
View docs{
"mcpServers": {
"core-marlo-marlo-mcp": {
"command": "uvx",
"args": [
"marlo-mcp"
],
"env": {
"MARLO_MCP_API_KEY": "YOUR_API_KEY"
}
}
}
}You can interact with the Marlo MCP server using an async Python client that authenticates with an API key and retrieves vessel data along with many other maritime finance and operations endpoints. This MCP server setup lets you run a local or remote MCP client and access a wide range of tools to manage voyages, banking, loans, analytics, and compliance within Marlo.
Choose your MCP client workflow to connect to Marlo MCP. You can run the local MCP server wrapper provided by uvx and pass your API key as an environment variable, then use the Python client to perform authenticated requests. Start by configuring the MCP connection, then call the available tools to fetch vessel data, voyages, invoices, market rates, and more. Each tool returns structured data you can use to integrate Marlo MCP into your own workflows, dashboards, or reporting pipelines.
Prerequisites you need before getting started:
Install and set up the MCP client environment. Use the concrete runtime command shown to start the MCP server for Marlo.
{
"mcpServers": {
"marlo-mcp": {
"command": "uvx",
"args": ["marlo-mcp"],
"env": {
"MARLO_MCP_API_KEY": "<your-api-key>"
}
}
}
}To install and interact with Claude Desktop (as an example MCP client), run the following command and provide your API key when prompted:
mcp install PATH/TO/main.py -v MARLO_MCP_API_KEY=<your-api-key>This MCP setup is designed for asynchronous operation and requires your API key for authenticated access. The environment variable MARLO_MCP_API_KEY must be set in the MCP server configuration or your shell when invoking the MCP client. The Marlo MCP client exposes a broad set of tools to retrieve vessel data, voyages, financial documents, market rates, sanctions information, and more.
Configure your MCP server entry to securely provide the API key and ensure only authorized systems can access Marlo MCP endpoints. Store API keys in a secure vault or environment management system and rotate keys regularly. Avoid exposing the API key in logs or code repositories.
If you encounter connection issues, verify that MARLO_MCP_API_KEY is correctly set in the environment for the MCP process. Check that the uvx command is available in your PATH and that the marlo-mcp service is reachable. Confirm network access and that the MCP server is running before issuing tool requests.
You can retrieve vessel data, fetch voyage details, obtain profit and loss reports, access market rates, examine invoices and bills, and query sanctions and compliance information using the available tools.
The Marlo MCP client provides a comprehensive set of tools to access data and operations. Each tool corresponds to a specific API endpoint or data view and returns structured results that you can use in your applications.
Fetch all vessels with minimal details to quickly build overviews and dashboards.
Retrieve full details for a specific vessel by identifier.
Create a new vessel record in the MCP system.
Search and filter ports to find suitable locations for voyages or cargo operations.
Query available cargos to plan shipments or charters.
List all charter specialists available for engagement.
Find contact information for charterers.
List all voyages with high-level details.
Get full details for a specific voyage.
Compute profit and loss for a voyage.
Retrieve all estimates sheets used in planning.
Get details for a single estimate sheet.
List all cargo books in the system.
Get details for a specific cargo book.
List all vessel fixtures.
Get details for a specific vessel fixture.
Fetch voyage-related contacts.
Get financial details for voyage contacts.
Retrieve contacts for a vessel fixture.
Get financial details for contacts of a vessel fixture.
Fetch details for an invoice.
Fetch details for a bill.
Retrieve voyage port disbursement data.
Get laytime information for a voyage.
List all customers in the MCP system.
List all vendors in the MCP system.
List all lendors in the MCP system.
Get details for a specific customer.
Get details for a specific vendor.
List all bills in the system.
List all invoices in the system.
Retrieve journal entries.
List all vendor credits.
Get details for a vendor credit.
List all credit notes.
Get details for a credit note.
List all external loans.
Get details for an external loan.
List all Marlo loans.
List all market rates.
Get details for a specific market rate.
Retrieve covenant information.
Get credit score metrics.
List all interest rates.
List all sanctions case manager entries.
Get details for a sanctions case manager.
Search sanctions records.
Search for individual sanctions.
List all bank accounts.
List all bank transactions.
Get profit and loss data.
Get balance sheet data.
Get a global vessel list search.
Get vessel valuation data.
List approval transactions.
Get balance by global account currency.
List all global accounts.
List all payouts.
Get details for a payout.
Get company valuation data.
Get operational cashflow data.
Get cashbalance streams data.
Summarize borrowers and loan statistics for lenders.
Provide comprehensive financial analysis and loan details for a borrower.