{"name":"io.github.rlawogh1005/green-mcp","slug":"rlawogh1005-green-mcp","title":null,"description":"Measure a program's CPU energy and LLM tokens, then refactor it cheaper. Measure, never estimate.","url":"https://mcp.market/server/rlawogh1005-green-mcp","rating":null,"grade":"A","score":92,"certified":false,"status":"active","category":"ai","tags":["ai"],"presence":{"score":22,"stars":0,"forks":0,"downloads_week":21,"last_push_at":"2026-08-26T09:56:28.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"pypi","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/rlawogh1005/green-mcp","website":null,"version":"0.1.2","remotes":[],"packages":[{"registryType":"pypi","registryBaseUrl":"https://pypi.org","identifier":"green-mcp","version":"0.1.2","runtimeHint":"uvx","transport":{"type":"stdio"}}],"tools":[{"name":"compare_energy","description":"Measure two commands and report which consumes less energy and by what margin.","write_action":false,"price_micros":0,"input_schema":null},{"name":"compare_tokens","description":"Measure two programs' token use and report which uses fewer, by how much. Only meaningful if both produce acceptable equivalent results — verify that separately (fewer tokens with worse answers is not a win).","write_action":false,"price_micros":0,"input_schema":null},{"name":"energy_backend_info","description":"Report whether energy measurement is available on this host and which backend would be used. Call this before measure_energy to know if the energy axis works here — on a machine with no reachable CPU power sensor it returns energy_available: false, and you should rely on the token axis (or say energy can't be measured) rather than estimate.","write_action":false,"price_micros":0,"input_schema":null},{"name":"measure_energy","description":"Measure the electrical energy (joules) a shell command consumes while running.","write_action":false,"price_micros":0,"input_schema":null},{"name":"measure_tokens","description":"Measure how many LLM tokens a program consumes when it runs (works on any machine — no special hardware). The program must read `base_url_env` for its LLM endpoint (most SDKs do); we point that at a non-blocking counting proxy forwarding to `upstream`, run the program, and report real provider `usage` (input/output/total tokens, call count). For a non-Anthropic target, pass its provider's base-url","write_action":false,"price_micros":0,"input_schema":null},{"name":"verify_equivalence","description":"Run two commands and compare stdout + exit code. The gate before any energy/token comparison.","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":92,"grade":"A","scanned_at":"2026-09-24T21:40:50.627Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-24T21:40:50.575Z","components":{"code":{"score":25,"max":25,"notes":["25 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":15,"max":15,"notes":["last push 29 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"green-mcp","version":"0.1.2","found":true,"weeklyDownloads":21,"license":"MIT","dependencyCount":9,"publishedAt":"2026-07-27T05:48:00.848049Z"}],"repo":{"found":true,"owner":"rlawogh1005","repo":"green-mcp","archived":false,"pushedAt":"2026-08-26T09:56:28Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/102688809?v=4","ownerCreatedAt":"2022-03-30T17:29:55Z","license":"MIT"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":21,"license":"MIT","lastPushAt":"2026-08-26T09:56:28.000Z","score":22}}}},"grade_history":[],"reviews":[]}