Skip to main content

Saxo Bank OpenAPI MCP Server

A specialized Model Context Protocol (MCP) server acting as a reference manual and knowledge base for the Saxo Bank OpenAPI.

Version: 0.3.5 · Spec snapshot: 2026-07-08

Purpose

This server is not an execution client. It does NOT execute trades, place orders, or modify portfolios.

It helps AI agents generate Saxo Bank API code by combining:

  1. Rich endpoint specs from crawled spec/json (nested parameters, request/response samples).
  2. Critical warnings on dangerous endpoints (/orders, /positions).
  3. saxo://docs/pitfalls.md — survival guide for Saxo-specific quirks.

Tools

Tool Description
search_saxo_endpoints(query) Discover endpoints by keyword.
get_saxo_endpoint_spec(method, path, depth?) Parameters, samples, warnings.
get_saxo_schema_spec(schema_name, depth?) Drill into nested schemas.
get_saxo_workflow_guide(use_case) close_position or if_done_oco workflows.

Resources

URI Description
saxo://docs/pitfalls.md Netting, ForceOpen close (§1b), Stop/StopIfTraded, IsForceOpen, UIC, Precheck.

Installation

MCP (Cursor / Claude Desktop)

{
  "mcpServers": {
    "saxo-openapi": {
      "command": "uvx",
      "args": ["mcp-server-saxo-openapi"]
    }
  }
}

CLI fallback

uvx --from mcp-server-saxo-openapi saxo-doc-helper search-endpoints orders
uvx --from mcp-server-saxo-openapi saxo-doc-helper get-endpoint POST /trade/v2/orders --depth 1

What changed in 0.3.0

0.2.0 mistakenly used a single saxo_openapi.json for lookup (shallow schemas). 0.3.0 restores the rich spec/json index while keeping pitfalls and warnings from 0.2.0.

See CHANGELOG.md.

Known limitations

  • Warnings are advisory; agents may skip pitfalls.md.
  • response_parameters trees are sparse in some crawled specs; response_sample JSON is more reliable.
  • Pitfalls reflect practical experience; not a substitute for Saxo's official docs.

License

MIT — see LICENSE.

Metadata

Release files for mcp-server-saxo-openapi 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-saxo-openapi 0.3.5
File Size Uploaded
mcp_server_saxo_openapi-0.3.5.tar.gz 562.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-saxo-openapi 0.3.5
File Interpreter ABI Platform
mcp_server_saxo_openapi-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / mcp_server_saxo_openapi-0.3.5.tar.gz

Download URL mcp_server_saxo_openapi-0.3.5.tar.gz
Size 562.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4e23ae9db5147706c3c12ac853eb5542fb51eeb6a7c026a020625dc0490ff23a
BLAKE2b-256 checksum
How to use checksums
1b56ad4ac4a196f4ccb90781bad06705b7b3a97050d83ad2336c3bfadc3242e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / mcp_server_saxo_openapi-0.3.5-py3-none-any.whl

Download URL mcp_server_saxo_openapi-0.3.5-py3-none-any.whl
Size 629.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6af1e940ce14bc586f6490ce679434d9e56b64b93506338424373021ade6b303
BLAKE2b-256 checksum
How to use checksums
debe3e0fed614dd8af4b37076e5b869167d79cb01a9148a3a27e3a9994097abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page