{"name":"io.github.Z333Q/p402","slug":"z333q-p402","title":null,"description":"Multi-provider AI router with x402 micropayment settlement on Base L2. 1% flat fee.","url":"https://mcp.market/server/z333q-p402","rating":null,"grade":"B","score":78,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":18,"stars":0,"forks":0,"downloads_week":43,"last_push_at":"2026-07-27T12:44:46.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/Z333Q/p402-protocol","website":null,"version":"1.0.0","remotes":[],"packages":[{"registryType":"npm","identifier":"@p402/mcp-server","version":"1.0.0","transport":{"type":"stdio"},"environmentVariables":[{"description":"Your P402 API key. Get one at https://p402.io/dashboard/settings","isRequired":true,"format":"string","isSecret":true,"name":"P402_API_KEY"},{"description":"P402 router base URL override. Defaults to https://p402.io","format":"string","name":"P402_ROUTER_URL"}]}],"tools":[{"name":"p402_chat","description":"Send a chat completion through P402's AI router. Automatically selects the best provider based on routing mode (cost / quality / speed / balanced).","write_action":true,"price_micros":0,"input_schema":null},{"name":"p402_compare_providers","description":"Compare AI provider pricing and capabilities side-by-side. Helps identify the cheapest or fastest provider for a given task type.","write_action":false,"price_micros":0,"input_schema":null},{"name":"p402_create_session","description":"Create a budget-capped agent session. All chat completions using the returned session_id are charged against this budget. Returns the session object including id and budget details.","write_action":true,"price_micros":0,"input_schema":null},{"name":"p402_get_session","description":"Get session details including remaining budget, status, and expiry. Use this to check how much budget a session has left before sending requests.","write_action":false,"price_micros":0,"input_schema":null},{"name":"p402_health","description":"Check P402 router and x402 facilitator health. Returns status for both the routing layer and the on-chain settlement layer.","write_action":false,"price_micros":0,"input_schema":null},{"name":"p402_list_models","description":"List all AI models available through the P402 router with their pricing, capabilities, and provider information.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":78,"grade":"B","scanned_at":"2026-09-27T23:36:58.235Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-09-27T23:36:58.132Z","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":12,"max":15,"notes":["last push 62 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":"@p402/mcp-server","version":"1.0.0","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-03-17T09:56:55.323Z","repositoryUrl":"git+https://github.com/Z333Q/p402-protocol.git","weeklyDownloads":43}],"repo":{"found":true,"owner":"Z333Q","repo":"p402-protocol","archived":false,"pushedAt":"2026-07-27T12:44:46Z","stars":0,"forks":0,"openIssues":11,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/127899521?v=4","ownerCreatedAt":"2023-03-14T21:28:33Z","license":"MIT"},"icon":{"url":null,"source":"none"},"presence":{"stars":0,"forks":0,"downloadsWeek":43,"license":"MIT","lastPushAt":"2026-07-27T12:44:46.000Z","score":18}}}},"grade_history":[],"reviews":[]}