tsp-mcp-server

omeletJK/tsp-mcp-server

3.1

If you are the rightful owner of tsp-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server designed to solve the Traveling Salesman Problem (TSP) using optimized algorithms, enabling natural language interactions with Claude Desktop.

Tools

Functions exposed to the LLM to take actions

solve_tsp

Solves TSP for cities with x,y coordinates.

solve_tsp_with_names

Solves TSP for named cities with coordinates.

calculate_route_distance

Calculates the total distance for a specific route.

visualize_tsp_route

Generates a high-quality PNG image visualization of a TSP route.

solve_and_visualize_tsp

Solves TSP and generates a beautiful image visualization in one step.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources