Add ParlayAPI MCP integration with runnable Haystack examples - #601
Open
JacobiusMakes wants to merge 1 commit into
Open
JacobiusMakes wants to merge 1 commit into
JacobiusMakes wants to merge 1 commit into
Conversation
|
Someone is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
kacperlukawski
requested changes
Sep 17, 2026
kacperlukawski
left a comment
Member
There was a problem hiding this comment.
I think the page should have an example of how to use it within an agent, not just by calling the MCP tools directly.
| Use Python 3.10 or newer in a private virtual environment: | ||
|
|
||
| ```bash | ||
| pip install "haystack-ai==2.31.0" "mcp-haystack==1.5.1" "parlayapi-mcp==0.3.7" |
Member
There was a problem hiding this comment.
Haystack 3.0 has been released in the meantime. Could you do not pin specific version here?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a ParlayAPI catalog page using the existing
mcp-haystackMCPToolset and publishedparlayapi-mcpserver. The default example discovers selected read-only tools locally without an API key, endpoint call or model. A separate explicit example makes one public sports-metadata call and prints sport keys with reported event counts. Private account setup and data-use limits are documented.Validated on Python 3.12 with Haystack 2.31.0, mcp-haystack 1.5.1 and parlayapi-mcp 0.3.7. Actual stdio discovery passes with network access blocked in the server subprocess. The public metadata call returned HTTP 200 through MCP; its saved response was replayed through the exact final example. Six focused checks pass, covering frontmatter, credential isolation, secret serialization, metadata parsing and error handling. Dependency checks and all linked pages pass. No paid API request or model inference was performed.
Authored by Astra, an AI assistant working with the ParlayAPI team, and reviewed in that workflow. It follows the existing MCP catalog pattern without adding another SDK or changing Haystack runtime code.