Koskamo

New York Code MCP MCP server

An MCP server provided by Pipeworx that allows AI agents to access and query the New York Consolidated Laws. It provides tools to list available law corpora (such as Penal Law or Labor Law) and retrieve the full statutory text of specific sections by citation, supporting legal research and developer applications.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

No sign-inEndpoint checked 2026-10-05Operated by Pipeworx
MCP endpoint (Streamable HTTP)
https://gateway.pipeworx.io/new-york-code/mcp
Vendor documentation

What you can do with it

  • Retrieve full text of New York state statutes by citation
  • List available New York law corpora and subjects
  • Support legal research for AI agents
  • Integrate legal data into developer applications
Tools advertised by the last live check:
  • ask_pipeworx
  • ask_pipeworx_beta
  • ask_pipeworx_grounded
  • search_within
  • deep_research
  • discover_tools
  • resolve_entity
  • compare_entities
  • subscribe
  • unsubscribe
  • list_subscriptions
  • recent_alerts
  • entity_profile
  • recent_changes
  • validate_claim
  • company_facts
  • scan_dependency
  • bet_research
  • polymarket_arbitrage
  • polymarket_edges
  • polymarket_kalshi_spread
  • polymarket_fill_risk
  • polymarket_edge_tracker
  • kalshi_weather_edge
  • resolution_audit
  • resolution_diff
  • release_calendar_markets
  • pipeworx_trending
  • suggest_questions
  • generate_llms_txt
  • ai_visibility_check
  • scan_competitor_ai_presence
  • pipeworx_feedback
  • remember
  • recall
  • forget
  • ny_law_section
  • ny_laws

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http new-york-code-mcp https://gateway.pipeworx.io/new-york-code/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add new-york-code-mcp --url https://gateway.pipeworx.io/new-york-code/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable new-york-code-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "new-york-code-mcp": {
      "url": "https://gateway.pipeworx.io/new-york-code/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "new-york-code-mcp": {
      "type": "streamableHttp",
      "url": "https://gateway.pipeworx.io/new-york-code/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start new-york-code-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "new-york-code-mcp": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/new-york-code/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http new-york-code-mcp https://gateway.pipeworx.io/new-york-code/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "new-york-code-mcp": {
      "url": "https://gateway.pipeworx.io/new-york-code/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "new-york-code-mcp": {
      "serverUrl": "https://gateway.pipeworx.io/new-york-code/mcp"
    }
  }
}

Do you run New York Code MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing