<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fallpoke</author_name>
  <author_url>https://blog.hatena.ne.jp/fallpoke/</author_url>
  <blog_title>誰かの技術置き場</blog_title>
  <blog_url>https://fallpoke-tech.hatenadiary.jp/</blog_url>
  <categories>
    <anon>生成AI</anon>
    <anon>Python</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>お疲れ様です。 今回はgpt-oss:20Bを使ってMCPサーバを利用した返答生成を試してみます。 コードは過去にGeminiのAPIを使って作成したものを、langchain-ollamaを使ったものに変更したのみにはなりますが…。 最後にGeminiと簡単に比較した内容を載せたいと思います。 GeminiとLangChainでMCPを使った時の記事は以下。MCPサーバについてや事前準備については以下を確認してください。 fallpoke-tech.hatenadiary.jp 実装 出力結果 Geminiでの出力結果（比較用） 実装 ソースコードはこちらにあります。 以前RAGを試したとき…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffallpoke-tech.hatenadiary.jp%2Fentry%2F2025%2F08%2F24%2F185140&quot; title=&quot;gpt-oss:20BでMCPを試してみた【LangChain+Ollama】 - 誰かの技術置き場&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/f/fallpoke/20250824/20250824184241.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-24 18:51:40</published>
  <title>gpt-oss:20BでMCPを試してみた【LangChain+Ollama】</title>
  <type>rich</type>
  <url>https://fallpoke-tech.hatenadiary.jp/entry/2025/08/24/185140</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
