MCP-Anything
Describe what you want. Get a production-ready MCP server. Then prove it is good.


mcp-anything https://petstore3.swagger.io/api/v3/openapi.json --install claude-code # a spec in, a server in your client
mcp-anything grade "npx -y @modelcontextprotocol/server-memory" # how usable is any MCP server?
MCP-Anything turns an API spec, a codebase, or a plain-language brief into a fully implemented MCP server, and grades any MCP server, its own or anyone else's, on how easy it is for an agent to use. It works with Claude, GPT, or a model running on your machine.
Install
pip install mcp-anything # add [llm] for Claude models: pip install "mcp-anything[llm]"
The LLM steps use the model you choose (see Models); everything also works without one, with --no-llm.
Or inside Claude Code
No install step: the skill installs the CLI for you on first use.
/plugin marketplace add gabrielekarra/mcp-anything
/plugin install mcp-anything@mcp-anything
Then just ask: "turn this OpenAPI spec into an MCP server" or "wrap my Flask app as MCP tools".
One command: from a source to a server
mcp-anything https://api.example.com/openapi.json
mcp-anything ./openapi.yaml --install cursor
mcp-anything ./my-flask-app --name shop
Give it a spec URL, a spec file (OpenAPI, GraphQL, .proto) or a code folder. It drafts the brief from the source (the spec's title, description, tags and operations, rewritten by the model when one is available), builds the server, and saves the brief as brief.yaml next to it, so you can edit it and rebuild:
mcp-anything build --brief mcp-petstore-api-server/brief.yaml -o mcp-petstore-api-server
Add it to your client
mcp-anything install ./mcp-petstore-api-server --client claude-code
--client takes claude-code, claude-desktop, cursor or vscode (repeat it for several). The entry is merged into the client's config, the old file is backed up once, and running it again changes nothing. --url http://host/mcp installs a server that is already running over HTTP, and --print shows the entry instead of writing it.
Grade any MCP server
mcp-anything grade "npx -y @modelcontextprotocol/server-filesystem ." # a command (stdio)
mcp-anything grade https://example.com/mcp # a URL (streamable HTTP)
mcp-anything grade ./mcp-petstore-api-server # a server folder
mcp-anything grade tools.json --format markdown # a saved tools/list result
./mcp-petstore-api-server
Grade A 95/100 7 tools, about 1,025 tokens of tool list
- 5.1 G10 CRUD operations not grouped: Several tools act on the same resource: pet (5).
create_pet, delete_pet, get_pet, list_pets, update_pet
Fix: Consider one manage_<resource>(operation=...) tool where several tools act on the same resource: fewer, broader tools are easier to choose from.
The grade is a static review of the tool list, the part of a server an agent actually sees, on fifteen rules. Every rule is deterministic: the same server always gets the same score, with no model involved.
| Rule | What it checks |
|---|
| G01, G02 | How many tools there are, and how many tokens the tool list costs on every request |
| G03, G04, G05 | Missing, vague or overlong descriptions |
| G06, G07, G08, G14 | Parameters without a description or a type, opaque objects, allowed values written in prose instead of an enum |
| G09 | Inconsistent or invalid tool names |
| G10 | Several tools acting on the same resource that could be one |
| G11, G12 | Destructive tools without destructiveHint, read-only tools without readOnlyHint |
| G13 | Near-duplicate tools |
| G15 | Missing or invalid input schemas |
It says how easy a server is to choose from and call correctly, not whether its tools work: mcp-anything eval measures that.
A badge, and a check in CI
mcp-anything grade ./my-server --badge grade.svg --min-score 80