Dracor MCP for LLM integration with Claude #292
Replies: 4 comments 4 replies
-
|
Hi, wow! We are all stunned. Can we setup a Zoom meeting and you demo it? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I chatted with colleagues yesterday, they are all thrilled and want to know more. I am afraid, we have to doodle to find a date/time. I will contact you via email. Meanwhile, I looked at the code and I think, there are some issues with the DraCor API that we could improve on our end, e.g.
Because DraCor does not offer a full text endpoint, you have to feed the model not the "real" text of a play with interwoven speech acts and stage directions, but all speeches followed by all stage directions. Obviously, the model has a wrong textual representation of the text of a play, not only are stage directions not embedded in the text, there are also possibly crucial parts of the text missing like headings of acts and scenes, that are in the TEI-XML, but are stripped, when requesting speeches or stage directions. The model also never sees the dramatis personae of a play (cast list) with descriptions of characters. Here you have to use regular expressions to "clean" the TEI-XML: https://github.com/stijn-meijers/dracor-mcp/blob/f5df26d2cbaad8c37d8e11ff108344517733825c/dracor_mcp_fastmcp.py#L621-L634 We could generate these data with xQuery in the database more easily and provide it. (You know the meme: https://preview.redd.it/k6sded6b9mkz.png?auto=webp&s=e2e8387aaa1fec320f9151f609f402846c5c2487)
A note:
Thanks again for the great work! |
Beta Was this translation helpful? Give feedback.
-
|
Hi, just a small update on this: I reworked the MCP and added some additional tools (we now have some 30 tools). |
Beta Was this translation helpful? Give feedback.
-
|
That sounds great! It is now quite easy to deploy remote servers as well: https://developers.cloudflare.com/agents/guides/remote-mcp-server/
Might be interesting for you to check out!
Best,
Stijn Meijers
Data @ Wolk<https://wolk.work/>
0634187486
From: Ingo Börner ***@***.***>
Date: Thursday, 15 May 2025 at 16:49
To: dracor-org/dracor-api ***@***.***>
Cc: Stijn Meijers ***@***.***>, Author ***@***.***>
Subject: Re: [dracor-org/dracor-api] Dracor MCP for LLM integration with Claude (Discussion #292)
Hi, just a small update on this: I reworked the MCP and added some additional tools (we now have some 30 tools).
The MCP server also now provides some limited access to DraCor's documentation. We will continue evaluating it.
—
Reply to this email directly, view it on GitHub<#292 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATDC6K2QEPDUAM5LJEUHK2L26SSNJAVCNFSM6AAAAABZOAEQJ2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMJWGAYDGMA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I have created a Dracor MCP server for Anthropic's Claude. It allows you to ask questions about data in Dracor. Let me know what you think!
I am in contact with Lucas van der Deijl to see whether this is something useful, but in the meantime feel free to test and do a PR if you see improvements.
Best,
Stijn
see: (https://github.com/stijn-meijers/dracor-mcp)
Beta Was this translation helpful? Give feedback.
All reactions