An MCP (Model Context Protocol) server providing seamless integration with PMXT's unified prediction market API, supporting major markets like Polymarket and Kalshi. Enables AI agents and LLMs to query and interact with prediction markets through standardized tools.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add pmxt-dev --env PMXT_API_KEY='<PMXT_API_KEY>' -- npx -y @pmxt/mcp~/.codex/config.toml
[mcp_servers.pmxt-dev]
command = "npx"
args = ["-y", "@pmxt/mcp"]
env = { PMXT_API_KEY = "<PMXT_API_KEY>" }
# codex mcp add pmxt-dev --env PMXT_API_KEY='<PMXT_API_KEY>' -- npx -y @pmxt/mcp~/.cursor/mcp.json
{
"mcpServers": {
"pmxt-dev": {
"command": "npx",
"args": [
"-y",
"@pmxt/mcp"
],
"env": {
"PMXT_API_KEY": "<PMXT_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"pmxt-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pmxt/mcp"
],
"env": {
"PMXT_API_KEY": "<PMXT_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pmxt-dev": {
"command": "npx",
"args": [
"-y",
"@pmxt/mcp"
],
"env": {
"PMXT_API_KEY": "<PMXT_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pmxt-dev": {
"command": "npx",
"args": [
"-y",
"@pmxt/mcp"
],
"env": {
"PMXT_API_KEY": "<PMXT_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"pmxt-dev": {
"command": "npx",
"args": [
"-y",
"@pmxt/mcp"
],
"env": {
"PMXT_API_KEY": "<PMXT_API_KEY>"
}
}
}
}Environment variables
PMXT_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.