Viewing: AI & Agents

AI & Agents

Use SAHMK inside ChatGPT (hosted MCP), Claude Desktop, Cursor, and other MCP-compatible clients. Hosted and local MCP both use your existing SAHMK subscription, permissions, and quota. For direct agent consumption, use the MCP server for tool calling and/api-docs.mdfor machine-readable API docs.

ChatGPT

Pilot

Connect ChatGPT to SAHMK over HTTPS with no Python install. Until SAHMK appears in the public Plugins Directory, use ChatGPT developer mode.

Hosted MCP URL:

MCP URL
https://mcp.sahmk.sa/mcp
  1. Open ChatGPT on the web and turn on Developer mode in Settings → Security and login.
  2. Go to ChatGPT Plugins, select the plus button, and paste the URL above.
  3. Sign in to SAHMK, choose an API key, and allow access.
  4. In a conversation, choose Developer mode from the Plus menu and select the SAHMK app.

Full walkthrough: MCP quick start tutorial

Coming after approval: Public Plugins Directory install. Until then, use the developer-mode steps above.

Local MCP

Install the Python package for Claude Desktop and Cursor.

bash
pip install -U sahmk-mcp

If MCP tools reject newer params (for example historical interval options), run pip install -U sahmk-mcp and restart your MCP client.

Package: pypi.org/project/sahmk-mcp · MCP quick start tutorial

Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "sahmk": {
      "command": "sahmk-mcp",
      "env": {
        "SAHMK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Cursor

Add to your project's .cursor/mcp.json

json
{
  "mcpServers": {
    "sahmk": {
      "command": "sahmk-mcp",
      "env": {
        "SAHMK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Use this when: your team wants SAHMK available inside AI workflows, research assistants, or agentic tools without building extra integration glue first.

Use companies_list for symbol discovery (`search`, `market`, `limit`, `offset`) before quote tools.

Last updated on