{"id":29664240,"url":"https://github.com/qduc/llm-mcp","last_synced_at":"2025-07-22T12:36:19.560Z","repository":{"id":305726682,"uuid":"1023747611","full_name":"qduc/llm-mcp","owner":"qduc","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-21T16:51:35.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T18:52:35.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qduc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-21T16:22:01.000Z","updated_at":"2025-07-21T16:51:39.000Z","dependencies_parsed_at":"2025-07-21T18:52:38.757Z","dependency_job_id":"d2fa005d-ace9-4777-b855-121c309c0b30","html_url":"https://github.com/qduc/llm-mcp","commit_stats":null,"previous_names":["qduc/llm-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/qduc/llm-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qduc%2Fllm-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qduc%2Fllm-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qduc%2Fllm-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qduc%2Fllm-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qduc","download_url":"https://codeload.github.com/qduc/llm-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qduc%2Fllm-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266496643,"owners_count":23938715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-22T12:36:18.810Z","updated_at":"2025-07-22T12:36:19.534Z","avatar_url":"https://github.com/qduc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM MCP Server\n\nA Model Context Protocol (MCP) server that enables AI clients to query multiple Large Language Models (OpenAI GPT, Anthropic Claude, and Google Gemini) through a unified interface.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v16 or higher recommended)\n- [npm](https://www.npmjs.com/) (comes with Node.js)\n- API keys for the LLM providers you want to use:\n  - OpenAI API key (for GPT models)\n  - Anthropic API key (for Claude models)\n  - Google API key (for Gemini models)\n\n## Installation\n\nClone the repository and install dependencies:\n\n```bash\nnpm install\n```\n\n## Usage\n\nThis MCP server provides three tools for querying different AI models:\n\n- `ask_gpt` - Query OpenAI GPT models (default: gpt-4o-2024-11-20)\n- `ask_claude` - Query Anthropic Claude models (default: claude-4-sonnet)\n- `ask_gemini` - Query Google Gemini models (default: gemini-2.5-flash)\n\n### Available Tools\n\nEach tool accepts the following parameters:\n- `question` (required): The question to ask the AI model\n- `model` (optional): Specific model to use (defaults provided)\n- `max_tokens` (optional): Maximum tokens in response (default: 4000)\n\n### Connecting to MCP Clients\n\nThis server is designed to work with MCP-compatible clients like Claude Desktop. Add it to your MCP client configuration to access the LLM querying tools.\n\n```json\n{\n    \"ask-llm\": {\n        \"command\": \"node\",\n        \"args\": [\n            \"path/to/llm-mcp/index.js\"\n        ],\n        \"env\": {\n            \"OPENAI_API_KEY\": \"your-openai-key\",\n            \"ANTHROPIC_API_KEY\": \"your-anthropic-key\",\n            \"GOOGLE_API_KEY\": \"your-google-key\"\n        }\n    }\n}\n```\nYou only need API keys for the models you plan to use.\n\n## Contributing\n\nPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqduc%2Fllm-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqduc%2Fllm-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqduc%2Fllm-mcp/lists"}