Genetic Algorithm MCP

by jbmattos03

Not rated
GitHub

About

A server that uses a Genetic Algorithm to solve maximization problems.

Details

Author
jbmattos03
Categories
Developer Tools

Setup

Install Genetic Algorithm MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/jbmattos03/genetic_mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A server that uses a Genetic Algorithm to solve maximization problems.

An MCP server to solve maximization problems using Genetic Algorithm.
- How it works
-
How to run

- 2.1Genetic Algorithm
- 2.2
MCP Server

There's already a sample problem loaded ingenetic-mcp-server/genetic_algorithm/main.py. To run it, run the following commands:

cd genetic-mcp-server/genetic_algorithm python3 main.py

There are also sample problems ingenetic-mcp-server/genetic_algorithm/samples. To run them, simply replace<problem>below with the name of the actual problem you want to run:

cd genetic-mcp-server/genetic_algorithm python3 main.py samples/<problem>.json

If you want to run your own problems, you have 2 options:
- Simply modify the following section ofgenetic-mcp-server/genetic_algorithm/main.py:

tsp_data = { "options": { "population_size": 100, "chromosome_size": 4, "fitness_function": { "cities": ["A", "B", "C", "D"], "distance_matrix": [ [0, 10, 15, 20], [10, 0, 35, 25], [15, 35, 0, 30], [20, 25, 30, 0] ] } }, "problem": "traveling_salesman", "generations": 50 }

- Create a .json file in the same style of the ones ingenetic-mcp-server/genetic_algorithm/samplesand replace<path_to_your_file>with the path to your file:

cd genetic-mcp-server/genetic_algorithm python3 <path_to_your_file>

Replace<full-path-to-genetic-mcp-server>in the following JSON with your actual path:

{ "mcpServers": { "genetic_algorithm_mcp_server": { "command": "uv", "args": [ "--directory", <full-path-to-genetic-mcp-server>, "run", "main.py" ] } } }

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.