{"id":21999933,"url":"https://github.com/rectalogic/langchain-mcp","last_synced_at":"2026-02-27T22:49:11.185Z","repository":{"id":265142053,"uuid":"894556402","full_name":"rectalogic/langchain-mcp","owner":"rectalogic","description":"Model Context Protocol tool support for LangChain","archived":false,"fork":false,"pushed_at":"2025-04-02T15:18:46.000Z","size":189,"stargazers_count":197,"open_issues_count":1,"forks_count":25,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-02T15:26:34.150Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rectalogic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-11-26T15:05:28.000Z","updated_at":"2025-08-01T07:03:04.000Z","dependencies_parsed_at":"2025-02-10T17:22:31.786Z","dependency_job_id":"9260973d-2f42-45ba-9cd7-a82dee7549c0","html_url":"https://github.com/rectalogic/langchain-mcp","commit_stats":null,"previous_names":["rectalogic/langchain-mcp"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rectalogic/langchain-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectalogic%2Flangchain-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectalogic%2Flangchain-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectalogic%2Flangchain-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectalogic%2Flangchain-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rectalogic","download_url":"https://codeload.github.com/rectalogic/langchain-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectalogic%2Flangchain-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29918136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-29T23:08:59.875Z","updated_at":"2026-02-27T22:49:11.139Z","avatar_url":"https://github.com/rectalogic.png","language":"Python","funding_links":[],"categories":["Development Tools","SDKs","📚 Projects (1974 total)","Frameworks","🤖 AI/ML","フレームワーク","Other Tools and Integrations","AI \u0026 Machine Learning","Table of Contents","Tools","框架"],"sub_categories":["Frameworks 🛠️","Python","MCP Servers","🛠️ \u003ca name=\"other-tools-and-integrations\"\u003e\u003c/a\u003eOther Tools and Integrations","🎧 \u003ca name=\"text-to-speech\"\u003e\u003c/a\u003eテキスト読み上げ","How to Submit","Monitoring \u0026 Analytics","Developer Tools","Community"],"readme":"# langchain-mcp\n\n*Note: langchain now has a more official implementation [langchain-mcp-adapters](https://github.com/langchain-ai/langchain-mcp-adapters)*\n\n![PyPI - Version](https://img.shields.io/pypi/v/langchain-mcp)\n\n[Model Context Protocol](https://modelcontextprotocol.io) tool calling support in LangChain.\n\nCreate a `langchain_mcp.MCPToolkit` with an `mcp.ClientSession`,\nthen `await toolkit.initialize()` and `toolkit.get_tools()` to get the list of `langchain_core.tools.BaseTool`s.\n\nExample:\n\nhttps://github.com/rectalogic/langchain-mcp/blob/8fa8445a24755bf91789f52718c32361ed916f46/tests/demo.py#L34-L43\n\n## Demo\n\nYou can run the demo against [Groq](https://groq.com/) `llama-3.1-8b-instant`:\n```sh-session\n$ export GROQ_API_KEY=xxx\n$ uv run tests/demo.py \"Read and summarize the file ./LICENSE\"\nSecure MCP Filesystem Server running on stdio\nAllowed directories: [ '/users/aw/projects/rectalogic/langchain-mcp' ]\nThe file ./LICENSE is a MIT License agreement. It states that the software is provided \"as is\" without warranty and that the authors and copyright holders are not liable for any claims, damages, or other liability arising from the software or its use.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frectalogic%2Flangchain-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frectalogic%2Flangchain-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frectalogic%2Flangchain-mcp/lists"}