Skip to content
Back to search

foreign-llm-mcp

MarketplaceWorks with Claude CodeGitHub

Claude Code plugins that delegate simple tasks to free web LLMs.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dinhngocvu96--foreign-llm-mcp/badge.svg)](/listings/dinhngocvu96--foreign-llm-mcp)

HTML

<a href="/listings/dinhngocvu96--foreign-llm-mcp"><img src="/api/listings/dinhngocvu96--foreign-llm-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

/plugin marketplace add dinhngocvu96/foreign-llm-mcp
/plugin install foreign-llm@foreign-llm-mcp

Restart Claude Code, then ask Claude to call the `login` tool for each provider you want (`login(provider="gemini")`), sign in in the window that opens, and close the tab. Sessions persist in the browser profile.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 14 lines
  1. {
  2. "name": "foreign-llm-mcp",
  3. "description": "Claude Code plugins that delegate simple tasks to free web LLMs.",
  4. "owner": {
  5. "name": "dinhngocvu96"
  6. },
  7. "plugins": [
  8. {
  9. "name": "foreign-llm",
  10. "source": "./",
  11. "description": "Delegate simple one-shot tasks to free web LLMs (Gemini, ChatGPT) via browser automation."
  12. }
  13. ]
  14. }
README.md · README · 70 lines
  1. # foreign-llm-mcp
  2. A Claude Code plugin (MCP server) that hands simple, one-shot tasks to **free web LLMs** —
  3. Gemini and ChatGPT — by driving their websites in a real Chrome window. Use it to save
  4. Claude tokens on things like summarizing, translating, small code snippets, a second opinion,
  5. web lookups, and image generation.
  6. > **Heads-up.** This automates consumer chat UIs, which may violate their terms of service and
  7. > can break whenever the site changes its markup. Use it for personal use, at low volume, with
  8. > your own accounts. No warranty.
  9. ## Tools
  10. | Tool | What it does |
  11. |---|---|
  12. | `ask(prompt, provider="gemini", timeout=120)` | New chat, send prompt, return the reply text. |
  13. | `generate_image(prompt, provider="gemini", timeout=180)` | Generate an image, return the saved file path. |
  14. | `list_providers()` | Which providers are logged in. |
  15. | `login(provider)` | Open the site so you can sign in; returns when you close that tab. |
  16. Providers: `gemini`, `chatgpt`. Every call is a fresh one-shot chat (no history carried over),
  17. calls are serialized, with a 5 s gap between them.
  18. ## Requirements
  19. - [Claude Code](https://claude.com/claude-code)
  20. - [uv](https://docs.astral.sh/uv/) (installs the Python dependencies on first run)
  21. - Google Chrome (Playwright drives the installed Chrome, not a bundled browser)
  22. ## Install
  23. ```
  24. /plugin marketplace add dinhngocvu96/foreign-llm-mcp
  25. /plugin install foreign-llm@foreign-llm-mcp
  26. ```
  27. Restart Claude Code, then ask Claude to call the `login` tool for each provider you want
  28. (`login(provider="gemini")`), sign in in the window that opens, and close the tab.
  29. Sessions persist in the browser profile.
  30. ## Where data lives
  31. `~/.foreign-llm-mcp/` (override with the `FOREIGN_LLM_HOME` env var):
  32. - `profile/` — Chrome profile with your logged-in sessions. **Keep it private.**
  33. - `out/` — generated images.
  34. ## Errors
  35. Tools fail with a code Claude can act on: `NOT_LOGGED_IN`, `QUOTA`, `TIMEOUT`,
  36. `NO_RESPONSE`, `SELECTOR_CHANGED`.
  37. ## Notes per provider
  38. - **Gemini** — image generation downloads the full-size file.
  39. - **ChatGPT** — `ask` uses a temporary chat (nothing saved). Image generation is blocked in
  40. temporary chats, so `generate_image` uses a normal chat that stays in your history. Free-plan
  41. image quota is small.
  42. ## Development
  43. Selectors live at the top of each `providers/<name>.py`; when a site changes, fix them there.
  44. To add a provider, create a module exposing `URL`, `ask`, `generate_image`, `is_logged_in` and
  45. register it in `PROVIDERS` in `server.py`.
  46. Live smoke test (needs logins, uses real quota): `uv run python test_live.py`
  47. ## License
  48. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.