{"name":"io.github.cyuanxv/openrouter-analytics-mcp","slug":"cyuanxv-openrouter-analytics-mcp","title":"OpenRouter 工作台 Local","description":"Local OpenRouter cost analytics, reports, experiments and routing presets over MCP stdio.","url":"https://mcp.market/server/cyuanxv-openrouter-analytics-mcp","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":32,"stars":0,"forks":0,"downloads_week":535,"last_push_at":"2026-10-22T17:09:05.000Z","license":"Apache-2.0"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/cyuanxv/openrouter-analytics-mcp","website":"https://github.com/cyuanxv/openrouter-analytics-mcp#readme","version":"0.6.0-alpha.3","remotes":[],"packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@cyuanxv/openrouter-analytics-mcp","version":"0.6.0-alpha.3","transport":{"type":"stdio"},"environmentVariables":[{"description":"Your own OpenRouter Management Key; keep it in the MCP client secret environment.","isRequired":true,"isSecret":true,"name":"OPENROUTER_MANAGEMENT_KEY"},{"description":"Absolute dedicated private data directory for the local SQLite database.","isRequired":true,"name":"OPENROUTER_WORKBENCH_DATA_DIR"}]}],"tools":[{"name":"analyze_cost_anomalies","description":"Detect spend spikes over completed UTC or Asia/Shanghai days against a consecutive-day baseline. Shanghai verifies sparse hours against independent UTC day cost and request controls, excludes unresolved days, and limits analysis plus baseline to 31 days. Other timezones are unsupported.","write_action":false,"price_micros":0,"input_schema":null},{"name":"analyze_cost_optimization","description":"Analyze top OpenRouter cost contributors using live usage, token/cache metrics and optional current catalog/provider prices. Return observed signals, actionable verification steps and data-quality gaps. Savings are not invented or automatically estimated.","write_action":false,"price_micros":0,"input_schema":null},{"name":"compare_models","description":"Compare OpenRouter model IDs using live catalog prices, context and optional provider evidence. If the user supplies a text-token workload, calculate an explicitly hypothetical cost scenario without running a generation. Missing prices or known context/modality violations prevent an estimate. Use official tools for quality evidence.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_account_summary","description":"Get OpenRouter remaining credit plus today, yesterday, 7-day and 30-day spend. Use for balance or recent account-spend questions. Requires the configured Management Key.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_analytics_meta","description":"Get the live OpenRouter Analytics schema and optional ready-to-run query recipes for spend, API keys, providers and token analysis. Recipes never execute automatically.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_api_keys","description":"List API key metadata, limits and usage counters. Plaintext secrets are never returned.","write_action":false,"price_micros":0,"input_schema":null},{"name":"query_usage","description":"Query OpenRouter spend, requests, tokens, cache, model, provider, API key, workspace, app, agent or time trends. Supports common time presets and advanced Analytics API fields.","write_action":false,"price_micros":0,"input_schema":null},{"name":"routerlens_status","description":"Check whether the private OpenRouter \\u5DE5\\u4F5C\\u53F0 analytics bridge is configured. Does not expose credentials.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":83,"grade":"B","scanned_at":"2026-10-25T09:23:09.152Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-10-25T09:23:09.134Z","components":{"code":{"score":25,"max":25,"notes":["4 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":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":15,"max":15,"notes":["last push 3 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"@cyuanxv/openrouter-analytics-mcp","version":"0.6.0-alpha.3","found":true,"license":"Apache-2.0","hasInstallScripts":false,"dependencyCount":2,"publishedAt":"2026-10-22T17:03:37.946Z","repositoryUrl":"git+https://github.com/cyuanxv/openrouter-analytics-mcp.git","weeklyDownloads":535}],"repo":{"found":true,"owner":"cyuanxv","repo":"openrouter-analytics-mcp","archived":false,"pushedAt":"2026-10-22T17:09:05Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/30552106?v=4","ownerCreatedAt":"2017-07-29T13:44:46Z","license":"Apache-2.0"},"icon":{"url":"https://avatars.githubusercontent.com/u/30552106?v=4&s=128","source":"github"},"presence":{"stars":0,"forks":0,"downloadsWeek":535,"license":"Apache-2.0","lastPushAt":"2026-10-22T17:09:05.000Z","score":32}}}},"grade_history":[],"reviews":[]}