PATTERN NEXUS MCP CONNECTOR This adapter lets a client that supports local MCP servers search public article titles and summaries and fetch articles by ID. Every lookup goes to Pattern Nexus over HTTPS and uses your existing API key. Full text requires the articles:content scope. Each authorized lookup counts toward the key's allowance. 1. Sign in at https://patternnexus.com/developer-api/keys with your paid Pattern Nexus account. Request access and generate your approved key. 2. Save pattern_nexus_mcp.py.txt as pattern_nexus_mcp.py on the device running your MCP client. The adapter uses Python 3.8+ and its standard library. It requires no extra packages. 3. Add a local stdio MCP server in your client. Set its command to your Python executable and its sole argument to the full script path. Set PN_API_KEY through your client's private environment or secrets settings. Keep the key out of chat, public configuration and the command line. Example server entry for clients that use mcpServers. Use the private environment configuration supported by your client. Some clients accept "python3" or "python" as the command. Windows JSON paths need escaped backslashes or forward slashes. { "mcpServers": { "pattern-nexus": { "command": "", "args": [""], "env": { "PN_API_KEY": "" } } } } 4. Reload your client's tool list. Ask it to search Pattern Nexus for "liquidity" and cite the article URLs from the results. For clients that accept OpenAPI instead, use the existing API description at https://patternnexus.com/api/v1/openapi.json. An HTTP 401 means the key was rejected. Check expiry and revocation. HTTP 402 means an active paid membership is required. HTTP 429 means the key reached a usage limit. If Cloudflare challenges the request, send the site administrator the Ray ID and timestamp. Keep the key private. Wait for the administrator to review the event before retrying.