The Allianz Trade MCP server runs locally and connects your AI assistant to our API documentation. Ask in plain English which API to use, how to authenticate, or how to call an endpoint, and get working code based on our OpenAPI specs and tutorials.
Allianz Trade local MCP v1.0.0
How it works. The local MCP server runs on your machine and only provides documentation. It sends no requests to Allianz Trade and cannot access your policies, coverage, or claims. All the reasoning is done by the AI assistant in your IDE, such as Claude, Cursor, Windsurf, or GitHub Copilot, using your own license
You need Node.js 18 or later. In a terminal:
node -vNo Node.js? Install the LTS version from nodejs.org, then reopen your terminal.
Unzip the package in a folder; please do not store this folder in Downloads, since your IDE will be pointed to it.
macOS / Linux
mkdir -p ~/tools/allianz-trade-mcp
unzip ~/Downloads/allianz-trade-mcp-1.0.0.zip -d ~/tools/allianz-trade-mcp
cd ~/tools/allianz-trade-mcp/mcp-server
npm installWindows (PowerShell)
Expand-Archive $HOME\Downloads\allianz-trade-mcp-1.0.0.zip -DestinationPath C:\tools\allianz-trade-mcp
cd C:\tools\allianz-trade-mcp\mcp-server
npm install
Add the block for your IDE. Replace the path by the absolute path of mcp-server/src/index.js on your machine (run pwd in the mcp-server folder to get it). On Windows, write it with forward slashes: C:/tools/allianz-trade-mcp/mcp-server/src/index.js.
Claude Code · in your project's .claude/settings.json, or ~/.claude/settings.json for all projects:
{
"mcpServers": {
"allianz-trade": {
"command": "node",
"args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
}
}
}Cursor · Settings › Cursor Settings › MCP › Add server:
{
"allianz-trade": {
"command": "node",
"args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
}
}Windsurf · in .windsurf/mcp.json at the root of your project:
{
"mcpServers": {
"allianz-trade": {
"command": "node",
"args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
}
}
}VS Code + GitHub Copilot · in .vscode/mcp.json:
{
"servers": {
"allianz-trade": {
"type": "stdio",
"command": "node",
"args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
}
}
}
Restart your IDE, then ask your assistant:
What APIs does Allianz Trade offer?It works when the assistant calls the tool
list_apisand lists our APIs (Authentication, Company Search, Covers, Claims…). The local MCP allianz-trade shows 10 tools in your IDE's MCP settings.
Copy a question and paste it in your assistant.
| Question | Tool used |
|---|---|
| How do I authenticate? Show me in Python. | get_auth_guide |
| Which endpoint do I call to declare a payment overdue? | find_endpoint |
| Write Python code to search for a company and get its grade. | get_code_example |
| Show me the named cover standard workflow tutorial. | get_tutorial |
| What are the API rate limits? How does the webhook retry work? | get_guidelines |
| What BU code should I use for Germany? | get_reference_data |
To run the generated code against our test environment, generate a test key in Dashboard › Environments & keys.
Check that the path in the configuration is absolute and ends with mcp-server/src/index.js, then restart the IDE.
Run npm install in the mcp-server folder (step 2).
Install Node.js 18+, or replace "node" in the configuration by its full path (which node on macOS / Linux, where node on Windows).
Mention Allianz Trade in your question, and check that the 10 tools are enabled in the IDE's MCP settings.
APIs: Authentication (IDP), Company Search, Company Referential, Company Grade, Grade Check, Grade Record, Country Grade, Covers, Cover Extended Information, Policy Management, Policy & Intermediary KPIs (Beta), Claims, Payment Overdues, Jobs, Reference Data, Risk Reference Data.
Tools: list_apis, get_api_schema, find_endpoint, get_auth_guide, get_code_example, list_tutorials, get_tutorial, get_guidelines, lookup_term, get_reference_data.
Download the new package, replace the folder and run npm install again. Your IDE configuration does not change.
Still stuck? Open a ticket and attach the MCP log of your IDE.